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.


  • Profile Image

    Form with repeating elements

    Asked by markrothfield on August 03, 2015 at 07:26 PM

    Hi there

    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?

    Cheers

    Mark

    elements name colour section 3
  • Profile Image
    JotForm Support Manager

    Answered by Jeanette on August 03, 2015 at 11:52 PM

    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:

    https://www.jotform.com/help/196-Hide-or-Show-Multiple-Fields-at-Once

     

  • Profile Image

    Answered by markrothfield on August 03, 2015 at 11:55 PM

    Hi Jeanette

    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.

    Cheers

    Mark

  • Profile Image

    Answered by tbawa on August 04, 2015 at 12:06 AM

    Have a look at the Configurable List widget - may be it can do what you need?

  • Profile Image

    Answered by markrothfield on August 04, 2015 at 12:20 AM

    Perfect, thanks!