Can my form repeat based on a numerical answer?

  • Profile Image
    WTAOffice
    Asked on December 23, 2020 at 10:01 AM

    I'd like my questionnaire (all but the initial questions of Name, Email, and number of students) to repeat X number of times (and collect a submission each time) based on a numerical answer.


    Example:

    Name:

    Email:

    Number of Students:

    [10 questions]


    If the user inputs 3 students, those 10 questions will repeat three times.


    Please advise.

  • Profile Image
    Sigit_W
    Answered on December 23, 2020 at 10:23 AM

    Hi there,

    Thank you for contacting support.

    To achieve that in the form builder you need to duplicating the same fields and show/hide them depending on the user's input. Are you using card layout? This is easier when you are working on a classic form since you can group the fields using Section Collapse field and show/hide them at once.

    Instead of a regular field, you can try the Configurable List Widget for repeating the same fields by simply clicking a button, you can design it and replace what field type to show according to your preference.

    Or infinite-list that lets users enter as many entries as they want. Allow users to add, edit, or delete form field entries on your forms with our free Infinite List widget. Each entry on the list can be broken down into multiple input fields, allowing users to include extra information while keeping it organized.


    I hope it helps, let us know if you need further assistance.

  • Profile Image
    WTAOffice
    Answered on December 23, 2020 at 11:01 AM

    Thanks! I have moved it to a classic form... is there an easy way to duplicate a whole page? That way, I can make a page for each student and use conditional statements to show or hide them.

  • Profile Image
    ashwin_d
    Answered on December 23, 2020 at 11:25 AM

    Please note that you can select multiple fields together and then duplicate it. When you select multiple field, a new header menu will be displayed with multiple options. You can click on the "Duplicate" button and then select the position where you want to add the fields. Please check the screenshot below:

    1608740638_5fe36f1e3e0ae_copyFields.gif

    You may like to take a look at the following guide which should help you: https://www.jotform.com/help/242-how-to-manage-multiple-fields

    Hope this helps.

    Do get back to us if you have any questions.