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 prevent the form being submitted unless the user fills out a field with the right answer?

    Asked by myAdiya on December 22, 2016 at 02:59 PM


    Can I limit the possible answers for a field in jot form so that only individuals that posses the right answer for say a number firld or a name field will be allowed to submit the form?

  • Profile Image
    JotForm Support

    Answered by Jim_R on December 22, 2016 at 03:40 PM

    Hello, if your aim is to only allow a user/respondent to submit the form IF AND ONLY IF their response exactly matches a "right answer" then you may use Conditions to achieve that.

    Have a look at this quick demo form I came up with: https://form.jotform.com/63565923983975

    (test123 is the right answer that the Textbox requires)

    The idea here is that they won't be able to submit the form if they don't know the needed response (or the right answer) for the Textbox Field.

    Here's how the Condition was setup:

    Related guide: Smart-Forms-Using-Conditional-Logic

    If you need to take a closer look, you may clone my form, here's how.