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

    Can I Have a Set of Fields Shown Only If a Certain Answer Is Chosen in Another Field, and Allow the User to Duplicate the Shown Fields If Needed?

    Asked by Michele on October 07, 2015 at 01:13 PM

    If I ask the client a specific question and they answer no - then the below fields (for them to enter information in will NOT appear).

    If they answer yes then the fields of information they need to fill out will appear for them to fill out.

     

    Then after they filled out information is there a way to click on a button for them to add another group of information.

     

    Lets see if I can give an example:

    My question: Do you have children? Yes or No

    If they click on No....then they move on to the following questions.

    If they click yes....then other fields will appear where they need to provide information about that child.

     

    after they enter information on one child then I would like another question for them add another child yes or no...if click yes the same fields as above appear to enter information on that child....etc.

     

    Is this possible?

    conditional fields dynamically add more add more of the same depending on conditionally show shown only if hidden by default infinite list widget
  • Profile Image
    JotForm Support

    Answered by abajan on October 07, 2015 at 02:03 PM

    This is quite doable, as illustrated in this form. If Yes is chosen for Do you have children?, a group of previously hidden fields is shown. That group of fields is actually an Infinite List widget and it allows the end user to add as many duplicates of the group as necessary. (Please see this guide.)

    If you clone the form and click the Conditions icon on the widget,

    you'll see the following condition:


    That's the general idea but if you need further help with this, please inform us.


    Thanks