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

  • Topcrop
    Asked on December 18, 2016 at 2:42 AM

    Hello,

    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

     

    Thanks

  • Elton Support Team Lead
    Replied on December 18, 2016 at 3:21 AM

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

    Example:

    Can I add a coupon code option on regular fields not a payment field? Image 1 Screenshot 30

     

    Can I add a coupon code option on regular fields not a payment field? Image 2 Screenshot 41

    If you need further clarifications, let us know.

  • Topcrop
    Replied on December 18, 2016 at 4: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?
  • Support_Management Jotform Support
    Replied on December 18, 2016 at 4: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.