By ryivhnn on
I'm not sure if I'm remembering correctly but I'm reasonably certain I once found a module that did this, think I can find it again though? :)
I'm looking for one of those things where you enter a number of fields you require and it spits you the required number of fields. My particular case here, I have a parenting forum where I'm trying to introduce a new thing in the user profiles where parents can say they have [x] kids and after that number is registered they get a name and birthdate field for each child.
Is there anything like that kicking around already?
thanks! :)
Comments
cck or multistep forms or form rebuild
I am not sure whether there are any modules which has this feature, however if the form that you want to add fields is created by cck (If the field in question is added by cck), you will automatically be presented with add more button for (multiple*) fields.
In Drupal 6 this can also be very easily achieved using form storage or form rebuild flags. This allows you to modify the forms based on the current post data.
Also, the module "AHAH helper" can make this form changes to use ahah. However the module is a little buggy at the moment and is having issues in working with node type forms.
--------------------------------------------------------------
My attempt with Drupal - Jaanlo.com
I'm using content profile
I'm using content profile (which appears to be using CCK) and APK to build the profiles, which I probably should have mentioned somewhere in the original post :)
Multiple* fields? I'll investigate them, see if they're in the form builder thingo somewhere.
Does form storage and rebuilding flags require coding? Been ages since I tried to do any form stuff with code :| Will have another look at AHAH helper too, thanks!
works at bekandloz | plays at technonaturalist