Right now there is no way to dynamically add fields based on a drop down selection.
The only thing you could do is use conditional logic. Create a section for each of the number of children options that contains the necessary fields. If they choose 1 child then show the section for 1 child.
Please note that you can apply conditional logic to an entire section simply by turning on conditional logic for just the section break field. So you don't have to apply it to every field, just use the Section Break field and apply it to that one. Any fields appearing below the section break will inherit the conditional logic... until it hits another Section Break.
So you would do something like this...
- Select Number of Children
- Section Break For 1 Child (conditional logic applied)
- Fields for 1 child
- Section Break for 2 Children (conditional logic applied)
- Fields for 2 children
- Section Break for the continuation of the rest of the form (this is important if you apply conditional logic to the Section Breaks as it needs to know to end that conditional logic so you need a Section Break that doesn't have it applied to it).
Posted 14 years ago on Thursday January 14, 2010 |
Permalink