I'm not 100% sure what you are asking. I'm assuming you mean you want the user to be allowed to enter a maximum of 8 "users" on the form, each "user" would have a few different fields for user related data.
This can't be done via some sort of "Add" link where they keep dynamically adding fields to the form. That type of dynamic field generation isn't possible.
What you would have to do is add ALL the fields to your form, then use a drop down or radio button (drop down would be preferred in this situation) to ask how many users they are adding. Then using conditional logic, show or hide the fields based on how many users they selected.
What you could do is implement this using Section Breaks for each "user". Then apply conditional logic on the Section Break field to show/hide that section based on the drop down selection.
So you would do this...
- Section Break (apply conditional logic to show/hide this in the advanced tab)
- Name
- Address
- Phone
- Etc.
- New Section Break (apply conditional logic to show/hide this in the advanced tab)
- ...
If you apply conditional logic to a section break it automatically applies to ALL fields that appears below that section break up to the next one. So when you are done, you'll need to add one last Section Break and don't apply conditional logic to it.
Posted 13 years ago on Monday November 21, 2011 |
Permalink