What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
How to create a promo code feature in form through condition?Asked by dotransferme on February 06, 2017 at 02:44 PM
We need to add promo code for transfer service order form. Can anyone assist us in creating it?
The idea is that we have two or three other sections which increase or decrease total price, what we want to do is that after entering promo code total amount which will be shown in "Total Price in USD" field changed by 5% for example.
e.g. in the total price in USD will be 100$ and user will enter promo code OFFERr5 it must change total price to 95$ (it must make discount for 5%).
Your fast assistance will be highly appreciated!
Thanks in advance
Here is form address:
If you're planning on using multiple products you can just add this as a coupon code with your 5% discount from it.
However, if you're looking to do this with a user-defined price brought in from another field then one way to do that would be to use or change the form calculation which might work for that via some conditional logic if the word is a match.
The case is that we are unable to do it. Maybe someone can assist us and create this for us? Maybe you can copy our form and add this with our requirements?
Thanks a lot in advance!
Here is how to create a coupon through Payment wizard:
What you have to do is to create products through Payment wizard and create appropriate coupons, like I did in my screencast above. I wasn't sure how you would like to process that, so I created only one coupon like in your example.
If you need any assistance please let us know.
Thanks for reply, but this option is not good for us, because we are using stripe payment and using User Defined Amount from totalPrice25, based on this what we need is to find some other solution which will minus 5% from total price in section totalPrice25 when there will be discount / promo code. and if code will be deleted it must bring back the sum there was indicated before.
Thank you for your assistance and hope to hear from you soon!
As soon as we will solve this problem we are going to move to payed plan. Please assist us to do it as soon as possible!
I cloned your form and added the promo code through conditions.
Here's my form https://form.jotform.com/70377603415959. You can clone this form back if you want. Guide: http://www.jotform.com/help/28-Cloning-a-Form-from-a-Web-Page
In the promo field, you can use OFFER5 code to get 5% discount.
Here's what I did.
1. I added a "promo value" text box below the "Have a promo code?" question
2. I then created the following condition.
If promo code is equal to OFFER5, insert TotalPriceField * 0.05 (5% discount) into promo value field
3. Then in the total calculation wizard, I subtracted them with the promo value.
Hope this helps!