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 set the date of birth so that the applicant must be 18 years or older

    Asked by Shermelb on March 06, 2015 at 10:33 AM
    date of birth OR
  • Profile Image
    JotForm Support Manager

    Answered by Jeanette on March 06, 2015 at 12:17 PM

    This can be possible using calculations along with conditions.

    Example: http://www.jotformpro.com/form/50644512494960 (Submit button appears when age is greater than 18. you can also show any text so the user will be aware of it.)

    Clone that form so you can figure out the setup.

    The form was made using Date/Time Tool under Quick Tools and a Form Calculation under Widgets.

    Check the calculation formula by opening the calculation wizard (click on the wand icon)

    Notice the Today date field, Age field and the Days Field are set as hidden (do right click on each field, then hide field).

    They were used in the calculation widget.

    The form calculates the days by subtracting the present date to the birth date

    -Then it divides it by 365.25 (equivalent for 1 year [this shows a more accurate result]).

    After that, create a condition that hides the submit button if age is less than 18.

    Example:

    I hope this helps you to sort out what you are looking for. Cheers!