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

    How to validate a form based on a promo code

    Asked by X4less on August 07, 2015 at 09:10 AM

    Hi,

     

    I'm looking for a solution for people to enter their name and a set (static) promotion code in order to validate a form.

     

    How does one set a form to reject anything but the exact match digits found in the promo code? 

    validate promo how a
  • Profile Image

    Answered by Sammy on August 07, 2015 at 10:54 AM

    You can provide a textbox where the users type in the promo code then use form conditions to validate against the static value

    You can also use page breaks to hide sections of the form until the correct code is entered

    To read more about form conditions kindly refer to this guide

    https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

    Please let us know if you need further information or assistance