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 use the conditions to automatically change the # of products displayed?

    Asked by CraZBrain on May 09, 2017 at 11:15 AM

    Hello- I am trying to use a checkbox to allow parents to register a sibling for camp. I've successfully implemented the conditions to display extra text boxes to be filled out. However, I can't figure out how to use conditions to force the # of campers in the products to change from 1 to 2 when a parent checks the "register sibling" box. Often they register two children and only pay for one because they forget to manually change the # of campers from 1 to 2. Thanks-

    Page URL:
    https://www.jotform.com/build/62695970553973/settings/conditions/30

  • Profile Image
    JotForm Support

    Answered by Mike_G on May 09, 2017 at 01:00 PM

    I would like to apologize, however, conditions are not applicable to the quantity input box in payment fields. However, a workaround that you can do is to recreate your payment field using regular fields (checkboxes and textboxes) and a Form Calculation widget. Then, you can pass the value of the Form Calculation widget to your payment field following this guide: How-to-Pass-a-Calculation-to-a-Payment-Field

    Below are other guides that you may find useful when applying the workaround to your form.

    How-to-Assign-Calculation-Value

    How-to-Perform-Form-Calculation-Using-a-Widget

    Conditional-Logic-Inserts-Text-Calculation-Into-A-Field

    If you have other questions regarding this, please feel free to contact us again anytime.

     

    Thank you.