How to show sets of questions based on participants added to the form

  • Jorge_rios
    Asked on May 5, 2025 at 6:22 PM

    I’m organizing an event where attendees register individually because I need to collect data from each participant. Once the data is submitted, they proceed to the payment step.

    However, some users register two or three people and currently have to repeat the process multiple times. Is there a way to enable a feature that allows users to enter attendee information based on the number of registrations they select, and then proceed to payment

    Thank you.

  • Israel JotForm Support
    Replied on May 6, 2025 at 2:23 AM

    Hello Jorge,

    Thanks for reaching out to Jotform Support. You can use the Configurable List widget. These allow users to add additional sets of fields for each participant by clicking an "Add Person" button, which repeats the same questions for each new registrant. The Configurable List widget is easy to use. Let me show you how:

    1. In Form Builder, click on the Add Element menu on the left side of the page.
    2. Under the Widgets tab, drag and drop the Configurable List widget into your form or just click on it to add.
    3. In the menu on the right, customize the Fields Configuration section according to the syntax below.
    {label} : {type} : {placeholder}

    How to show sets of questions based on participants added to the form Image 1 Screenshot 20 The syntax I showed you above is the main syntax of Configurable List widget, to learn more about how to write it specifically for different types, check out the How to Set Up the Configurable List Widget guide, which explains and provides examples of how it should be written.

    If that’s not exactly what you’re looking for, can you explain a bit more so I can help you better?

    Give it a try and let us know how it goes.

  • Jorge_rios
    Replied on May 6, 2025 at 1:27 PM

    Thanks, but adding participants should also affect the price, there is and additional costo per register, how can that be integrated?



  • Joseph Christian JotForm Support
    Replied on May 6, 2025 at 5:31 PM

    Hi Jorge,

    Yes, based on your requirements, you can use the Form Calculation widget to calculate the total cost. Check out my screencast below to see my demo form below:

    How to show sets of questions based on participants added to the form Image 1 Screenshot 50

    Then, you can pass the calculated value from the Form Calculation widget to your payment integration. Let me show you how:

    1. In Form Builder, click on the Add Element menu on the left side of the page.

    2. Under the Payments tab, select your payment gateway. In this example, I'll use Stripe.

    3. In the menu on the right, click on Connect and log in to your account.

    4. Set the Payment Type to User Defined Amount.

    How to show sets of questions based on participants added to the form Image 2 Screenshot 61

    5. In the Get Price From section, select the Form Calculation widget.

    6. Then, click on Save.

    How to show sets of questions based on participants added to the form Image 3 Screenshot 72

    Here's the result:

    How to show sets of questions based on participants added to the form Image 4 Screenshot 83 You can test my demo form or clone it to see how it is set up. We also have guides about How to Perform Calculations Using a Widget and How to Pass a Calculation to a Payment Field that you can check out.

    Let us know if you need any more help.

  • Jorge_rios
    Replied on May 6, 2025 at 5:45 PM

    The Calculation widget can be blocked, to avoid any change of price, or even better can it be hidden to the user?

  • Joseph Christian JotForm Support
    Replied on May 6, 2025 at 6:01 PM

    Hi Jorge,

    Yes, the Form Calculation widget can be hidden from users so they can't see or modify the price calculation. Here's how to do it:

    1. In Form Builder, select the Form Calculation widget and click on the Gear icon to open Properties.
    2. Under the Advanced tab, toggle the Hide field option to On position.

    How to show sets of questions based on participants added to the form Image 1 Screenshot 20 Don't worry about the value in the payment field, as it is set to read-only and cannot be edited, just as shown in my screencast.

    Let us know if you need any help.

Your Answer