Can I use the conditions to automatically change the # of products displayed?

  • CraZBrain
    Asked on May 9, 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-

  • Mike_G JotForm Support
    Replied on May 9, 2017 at 1: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.