How do I get the discounts to for classes chosen after the first one?

  • staarcalendar
    Asked on August 5, 2025 at 10:15 PM

    I'm trying to utilize one form for all of our performing arts classes.

    If multiple students choose a Dance class, they get $5 off per student. I currently have this as the "Family Dance Discount" at the end of the form. However, I already have each dance class tied to the price of the class at $75. I am not sure how to do the -$5 per student discount.

    After one Drama or Music class is selected, all subsequent Drama or Music classes get a -$20 discount. I currently have this set up per student in a hidden discount field. The issue is I can't say "any two" in the conditional logic, so it has to say ANY of the music/drama classes. So it will trigger the discount if only one is selected, not after the second class selection. How do I get the discounts to for classes chosen after the first one?

    Thank you!

  • Jessica JotForm Support
    Replied on August 6, 2025 at 12:46 AM

    Hi staarcalendar,

    Thanks for reaching out to Jotform Support. When I check the field 1 - Saturday Dance, I see that the calculation value is set to 75 for each option. You can use the combination of Form Calculation, basic Number field, and Conditional Logic Update/Calculate field to achieve this. Here is the result once it is set up:

    How do I get the discounts to for classes chosen after the first one? Image 1 Screenshot 120

    Let me walk you through the steps on how to set this up:

    Adding and setting Form Calculation:

    1. In Form Builder, click on Add Element+ on the left side of your screen.How do I get the discounts to for classes chosen after the first one? Image 2 Screenshot 131
    2. Click on Widget tab on the Form Elements panel.
    3. Then, click or drag-and-drop Form Calculation into your form. How do I get the discounts to for classes chosen after the first one? Image 3 Screenshot 142
    4. Form Calculation properties should appear on your right side of your screen. Click on Add Field, then select the field above.
    5. After that, click on Save.How do I get the discounts to for classes chosen after the first one? Image 4 Screenshot 153

    Adding basic Number field:

    1. In Form Builder, click on Add Element+ on the left side of your screen.How do I get the discounts to for classes chosen after the first one? Image 2 Screenshot 131
    2. Under Basic tab, click or drag-and-drop Number field below the Form Calculation.How do I get the discounts to for classes chosen after the first one? Image 6 Screenshot 175

    Adding Conditional Logic Update/Calculate field:

    1. In Form Builder, click on Settings on the top orange navigation bar.
    2. Click on Conditions on the left sidebar.
    3. Click on the blue Add Condition button.How do I get the discounts to for classes chosen after the first one? Image 7 Screenshot 186
    4. Click on Update/Calculate Field.How do I get the discounts to for classes chosen after the first one? Image 8 Screenshot 197
    5. Add the following conditions:
      How do I get the discounts to for classes chosen after the first one? Image 9 Screenshot 208
    6. After that, click on Save.
      How do I get the discounts to for classes chosen after the first one? Image 10 Screenshot 219
    7. You'll need to repeat the steps to add the second condition as following too:How do I get the discounts to for classes chosen after the first one? Image 11 Screenshot 2210

    And you are good to go. Let us know if you need more help.

  • staarcalendar
    Replied on August 6, 2025 at 9:37 AM

    This was immensely helpful! Thank you!

Your Reply