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.

  • Profile Image

    Can I add a coupon code option on regular fields not a payment field?

    Asked by Topcrop on December 18, 2016 at 02:42 AM


    I want to include a referral code/coupon code option in my form. The idea is the following: If a use enters a particular code (from a pre-determined list of codes), he/she will get a %discount on the product price.  However, I'm not using any of the payment fields that you provide by default -> instead its just a simple calculate field (the payment is collected through other models which happen outside the form environment)

    Pls. suggest


    My form link is: https://www.jotform.com/?formID=63521273619456



    Page URL:

  • Profile Image
    JotForm Support

    Answered by EltonCris on December 18, 2016 at 03:21 AM

    That's possible using contains statement in update/calculate field condition.



    If you need further clarifications, let us know.

  • Profile Image

    Answered by Topcrop on December 18, 2016 at 04:02 AM

    Thanks - I will try this solution and let you know if I am able to make it work. 

    Is there a way I can prevent one user from using a coupon code more than once?
  • Profile Image
    JotForm Support

    Answered by Jim_R on December 18, 2016 at 04:08 AM

    I've moved your most recent question to a separate thread https://www.jotform.com/answers/1014360

    We'll have it addressed there shortly.