How to set particular quantities in product form?

  • Annie
    Asked on April 1, 2025 at 9:48 AM

    I have a product selection built out, and I want the quantity options to only be 1, 3, or 5. However, the properties make me give a range instead of allowing me to choose the quantity options. Is there a way to do this?

    How to set particular quantities in product form? Image 1 Screenshot 30

    How to set particular quantities in product form? Image 2 Screenshot 41

  • Jenette_R JotForm Support
    Replied on April 1, 2025 at 1:15 PM

    Hi Annie,

    Thanks for reaching out to Jotform Support. I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.

    Thanks for your patience and understanding, we appreciate it.

  • Jenette_R JotForm Support
    Replied on April 1, 2025 at 2:21 PM

    Hi Annie,

    Unfortunately, there's no option to set the quantity in the Product List element to 1, 3, 5. It will only give you a range quantity from 1 to 5. As a workaround, I suggest using a Multiple Choice element for the products, a Dropdown element for quantity. We also need a Form Calculation widget to calculate the prices. Also, we need to set the Product List element to User Defined Amount. Let me show you how:

    Adding Multiple Choice element:

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

    2. Under Basic Elements menu, drag and drop a Multiple Choice element.

    3. Click on Gear icon, in the menu on the right side that opens up, click on Options tab.

    4. Under Options, enter each option on a new line. (In my test, I add, Product1, Product 2, Product3. ).

    How to set particular quantities in product form? Image 1 Screenshot 90 Adding Dropdown element:

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

    2. Under Basic Elements menu, drag and drop a Dropdown element.

    How to set particular quantities in product form? Image 2 Screenshot 101 3. Click on Gear icon, in the menu on the right side that opens up, click on Options tab.

    4. Under Options, enter each option on a new line. (In my test, I add, 1, 3, 5).

    5. Scroll down, Toggle Calculation Values to On position and add the prices. (In my test, I add 10, 30, 50).

    How to set particular quantities in product form? Image 3 Screenshot 112 After that, you need to add a Form Calculation widget to calculate the prices. Here's how to do it:

    1. In Form Builder and click on Add Element on the upper-left side of the page.

    2. Click on the Widgets tab, click on the Form Calculation widget to add it to your form.

    How to set particular quantities in product form? Image 4 Screenshot 123

    3. In the window that opens, click on Add Field button and select Dropdown element.

    4. Finally, click on Save button at the bottom of the page.

    How to set particular quantities in product form? Image 5 Screenshot 134 Now, we need to set the Product List element to User Defined Amount. Let me show you how:

    1. In Form Builder, click on Product List element.

    2. Then, click on Card icon to open the Payment Properties.

    3. Under Payment Type, click on dropdown menu and select User Defined Amount.

    4. In the window that opens, click Yes, Change.

    How to set particular quantities in product form? Image 6 Screenshot 145 Additionally, we need to change the Get Price From None (Manual) to Form Calculation in Payment Fields. Here's how to do it:

    1.  In Form Builder, click on Payment Field.

    2. Then click on User Define Amount icon.

    3. In the window that opens, in the dropdown menu under Get Price From click Form Calculation.

    How to set particular quantities in product form? Image 7 Screenshot 156 Check out my screencast to see my result:

    How to set particular quantities in product form? Image 8 Screenshot 167 If that’s not exactly what you’re looking for, can you explain a bit more so I can help you better?

    Keep us updated and let us know if you need any more help.

Your Answer