Can I put in multiple checkbox items each having a price and then add selected items to a total?

  • dems600
    Asked on August 25, 2016 at 4:32 PM

    Cooks Choice:    (if check add $20.00 to total)
    Jackpot Beans:  (if checked add $20.00 to total)
    Chili:                  (if checked add $20.00 to total)

     

    The person completing the form can check 1 or 2 or 3.  The total is pre-loaded with a begining balance of $150 so each checkbox if completed would add an additional $20 each.

    Jotform Thread 916255 Screenshot
  • Boris
    Replied on August 25, 2016 at 6:10 PM

    Yes, our forms can do that, and you can set it up in three steps. First, we should assign calculation values to each of your Check Box items:

    https://www.jotform.com/help/301-How-to-Assign-Calculation-Value

    In your case, simply enter a calculation value of 20 on several lines, each corresponding to one option in the Check Box field:

    Can I put in multiple checkbox items each having a price and then add selected items to a total? Image 1 Screenshot 40

    Next step is that we will have to calculate the actual total from the selected items, and for this we will have to use a Form Calculation field:

    https://www.jotform.com/help/259-How-to-perform-calculation-in-the-form

    Can I put in multiple checkbox items each having a price and then add selected items to a total? Image 2 Screenshot 51

    The calculation should be set to count "150 plus the value of the Check Box field".

    What I would also recommend in this step is to hide the calculation field - so that it doesn't cause any confusion to your users:

    Can I put in multiple checkbox items each having a price and then add selected items to a total? Image 3 Screenshot 62

    And finally, third step is that we need to pass the calculated total to your payment tool for payment:

    https://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field

    You can see this demo form of the setup:

    https://form.jotformpro.com/form/62377278960973

    If it works to your satisfaction, please follow the above described steps, and let us know should you run into any issues along the way. We'll be glad to help. Cheers

  • dems600
    Replied on August 27, 2016 at 5:05 PM

    Works just like I want it to!!!! Thank You!!!

  • liyam
    Replied on August 27, 2016 at 8:13 PM

    Hello dems600,

    On behalf of Boris, you are welcome.

    If you have other questions or concerns, please let us know. :)