How to do discount off/percentage off to my form?

  • Audif Photo
    Asked on February 28, 2023 at 8:12 PM

    Quick Question how would you do discount off Percentage off?

  • Marlon_T Jotform Support
    Replied on March 1, 2023 at 1:33 AM

    Hi Audif Photo,

    Thank you for contacting Jotform Support. To offer a discount a percentage off using JotForm, you can use a calculation widget in combination with a coupon code field. Here are the steps to do this:

    1. Add a "Form Calculation" widget to your form.
    2. Set up the calculation to determine the percentage off the total amount. For example, if you want to offer a 20% discount, you would enter the calculation formula as follows: (Total * 0.2)
    3. Add a coupon code field to your form where the user can enter the discount code.
    4. Set up a conditional logic rule that checks if the coupon code entered by the user is correct.
    5. If the coupon code is correct, the conditional logic rule can update the calculation widget to subtract the percentage off the total amount. For example, you can use the "Update/Calculate Field" action to update the calculation formula to subtract the discount percentage: (Total * 0.2) * -1
    6. Finally, you can display the discounted total amount using a "Form Calculation" widget or a "Text" field.

    By following these steps, you can offer a discount off a percentage off using JotForm.

    Give it a try and let us know if you need any help.