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

    Is It Possible to Stop a User from Submitting a Form If They Are Underage?

    Asked by miabeawines on November 12, 2015 at 04:10 PM

    Can your forms verify date of birth? My website sells wine and I need to make sure users are 21 or over before they are able to continue to checkout. Is there an option to set the form so it doesn't allow users under 21 (Based on date of birth) to continue?

  • Profile Image

    Answered by AA_C on November 12, 2015 at 04:53 PM

    Hi miabeawines,

    You could certainly block out part of your form using conditions etc., but how do you prevent someone from lying about their age?


  • Profile Image
    JotForm Support

    Answered by abajan on November 12, 2015 at 07:04 PM

    Unfortunately, as Robert has stated, there's no way to prevent a user from lying about their age. However, assuming they're honest, it's possible to prevent form submission if their date of birth indicates that they are under 21. That functionality is demonstrated in this form. (Once the submit button of a JotFotm is hidden, submission isn't possible.)

    Is that the sort of thing you were thinking of?