How can I apply a promo code on my form?

  • lperrina17
    Asked on October 25, 2017 at 6:16 PM

    Hi, I have an issue with a recent adjustment made to my form "order form". Someone from jotform helped me add a pick up and delivery option to the form, but I am now missing the promo code option. I really need to add in a promo code option

  • Kevin Support Team Lead
    Replied on October 25, 2017 at 9:15 PM

    We can help you adding the code to your form, may you please  provide us details about it or an example? 

    You may provide us some codes that will be applied to the form and the amount you want to discount, we will provide you with the steps to implement it to your form. 

    Looking forward to your response. 

  • lperrina17
    Replied on October 25, 2017 at 10:43 PM
    I am familiar with promo codes on jotform. However, when the delivery
    options were changed, the promo codr options were removed. If you look at
    my form, I think it will make more sense.
    The form is called "order form"
    I need to be able to offer my customers many different discount codes and
    still be able to offer 1. free pick up option and $9 delivery option.
    Somr examples of prior promo codes are 10% off your order, free shipping,
    etc.
    ...
  • Elton Support Team Lead
    Replied on October 26, 2017 at 3:44 AM

    I see that you are using regular fields as your products and passing the total to the payment field.

    I checked your form but I could not find any conditions or fields related to the promo code.

    Anyway, I believe this is doable with conditions and by separating the amount, discount and the final total field.

    Here's a demo of a cloned version of your form: https://form.jotform.com/72981772866979

    Enter 10OFF in promo code to get 10% discount

    I have revealed the hidden fields for testing purposes.

    Feel free to clone this form so you can check and make further adjustments. Guide: http://www.jotform.com/help/28-Cloning-a-Form-from-a-Web-Page

  • lperrina17
    Replied on October 26, 2017 at 9:43 AM
    Im not sure this worked right? which fields are hidden?
    ...
  • Kevin Support Team Lead
    Replied on October 26, 2017 at 11:16 AM

    The sample form my colleague provided does not have any hidden field, but you may hide any fields if you want, for example, you could hide those fields that perform the calculations and you just show the total amount: 

    How can I apply a promo code on my form?  Image 10

    I hope this helps. 

  • lperrina17
    Replied on October 26, 2017 at 11:43 AM
    This will work. Can you apply this to my form ?
    ...
  • aubreybourke
    Replied on October 26, 2017 at 1:09 PM

    You can clone the form that Elton provided:

    How to Clone an Embedded Form from a Webpage

    The URL is:

    https://form.jotform.com/72981772866979


    If you require a step by step guide to do it manually:

    1. Add two short text entries ( Promo Code, discount ) And one form calculation widget ( total ).

    2. Add a calculation condition for the Promo Code to look like this:

    1509036933Microsoft Edge 26 10 2017 17 5 Screenshot 10

    *Only here it should be 0.9 instead of 0.1 for a 10% reduction!


    3. For the calculation widget click on the wizard ( magic wand icon ). Then setup your total to calculate like this:

    1509037397Microsoft Edge 26 10 2017 18 0 Screenshot 21


    4. Then you have to set your total as the get price form value in your payment integration.

    1509037740Microsoft Edge 26 10 2017 18 0 Screenshot 32

    5. Finally you can hide fields that the customer doesn't need to see. They will continue to work in the background.