What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Form with repeating elementsAsked by markrothfield on August 03, 2015 at 07:26 PM
I'm trying to design a form where the user is asked for a number (of people) and then a section is displayed to enter details for each of them. The section would be simple questions (e.g. name, birthday, favourite colour) and be repeated for the number specified by the user i.e. the user enters 3 (# of people) and the people details section appears three times.
Please advise how this can be done?
JotForm Support Manager
This can be easily done. Please add all the necessary fields that will be involved in your form scenario.
Then follow this guide in order to show/hide at once several fields upon a condition is met:
Thanks for the response. It would seem that if I follow this approach, I would need to predefine however many fields I may possibly need. This isn't what I was after, as I won't know in advance if the user wishes to provide details for one, five or ten people. Please advise.
Have a look at the Configurable List widget - may be it can do what you need?