9 years ago
2
Topic

Looking for a solution for a user profile:

User fills in the necessary fields, one of them is 'How many children' if the user types 3, then, 3 fields should be showed to fill in the names.
Any Idea how I can do this?

Thx

Hans

Get a VIP membership
572 Posts
_jrmo
9 years ago
1
Level 1

Hi TwinDaddy,

Welcome to SEBLOD.

Interesting question. The way you have detailed it there, as far as I know, is not possible with SEBLOD in an elegant way. You could do a 'butcher' job by creating numerous fields, and then using conditional formatting to choose how many to show X amount of fields. But this would be very very tedious and not a nice solution.

Instead, I would do it the opposite way round. Where you use a Field_X field to put in the childrens names, and then you could perform a count on the Field_X field array using a template override to count how many items they entered and display that number. That's the way I would do it.

Cheers,

James

9 years ago
0
Level 2

Hello James

Thanks, I made an app parents and a field x (parents_child_name) wicht I stored in a xxx_cck_...._parents

But in admin user registration in parents all fields are there except the field x. Any idea why?

Get a VIP membership