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

    form with a required promo code?

    Asked by JA on July 28, 2011 at 05:00 PM

    How can I create a field that requires a specific promo code?  The user will receive a promo code in a purchased book and then go online to receive their gift.  If they do not enter the correct code into the form, it will not submit.

  • Profile Image

    Answered by brx250 on July 28, 2011 at 10:30 PM

    Hi JA,

    First of all, thank you for using JotForm.

    In order to do that, you can hide the submit button unless entered the correct promo code. This is obtained with the help of JotForm's Conditional Logic . I've attached some illustrations on how it works.

    After creating your form, under the "Setup & Embed" tab, click "Conditions". (Click on the image to enlarge)

    Select "Show/Hide a Form Field".

    Create the conditions for our submit button.


    Click the "Add New Rule" to add other promo codes. The following are the promo code samples: 






    The final output would be like this one below.


    You can see this form in action through this link http://www.jotform.com/form/12083803286 

    You should remember that our promo codes are case sensitive.

    Hope this helps.

    If you have any other questions, please feel free to contact us.

    Albert JotFrom Support