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

  • Profile Image
    Topcrop
    Asked on December 18, 2016 at 02: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

  • Profile Image
    EltonCris
    Answered on December 18, 2016 at 03:21 AM

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

    Example:

     

    If you need further clarifications, let us know.

  • Profile Image
    Topcrop
    Answered 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
    Jim_R
    Answered 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.