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 can I make the code from card field only accept the one code that I give?

    Asked by ac_parties on July 16, 2015 at 12:14 PM

    My user name is ac_parties. On the form that I have I created a field that ask for a code. When guest go to file out that form I only want the code that I provided to be accepted. So how can I make that happen so people won't be able to create their own code and put it in?

    Page URL:

  • Profile Image
    JotForm Support

    Answered by david on July 16, 2015 at 02:20 PM


    If you only want people with your code to be able to submit the form, you could conditionally hide the captcha and submit button until the proper code is entered.  Add a form collapse to your form:

    Then conditionally show the form collapse when the proper code is entered:

    This way, only people with your code would be able to submit the form.  Here is my test form so you can see how it works:



    Enter 1234 as the code.

    If you would like different functionality, let us know and we can likely assist you with whatever you need.

  • Profile Image

    Answered by ac_parties on July 16, 2015 at 03:29 PM

    Ok well can you give me directions on how to do this because i still don't know how. 
    Sent from my Sprint Samsung Galaxy® Note 4.
  • Profile Image
    JotForm Support

    Answered by david on July 16, 2015 at 04:34 PM

    Aside from adding the form collapse field to your form above the captcha, I forgot to mention how to setup conditions in  your form.  Here is a more in depth guide on how to do so:


    You would be using the show/hide from field condition.  That condition would be setup similar to the one in my post above.  You would replace "1234" with your code.

    This condition would show everything contained under the "submit" form collapse only when the proper code is entered. 

    You can clone the form to see exactly how it is setup if you would like:



    If anything specifically needs more clarification, let us know and we will be happy to help.