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

    Birthday Conditions

    Asked by SalonFusion on May 29, 2012 at 08:08 PM

    I have a form that I have that you must be over the age of 13 to fill out. is there a way i can do that in the conditions wizard?

  • Profile Image
    JotForm Support

    Answered by NeilVicente on May 29, 2012 at 09:56 PM

    There is a workaround to your goal, and that is by comparing the Birth Date value to a fixed date 13 years ago.

    First off, you need to replace your Birthday Picker field with a DateTime one. You can find the DateTime field under the Power Tools section:

    Note: Disable time in this field by untoggling the "Allow Time" button found in the toolbar while the said field is on focus.

    Next, create a condition for your form that will hide the Register button and will display a (custom html) error message if the birth date entered is prior to your (13 yr old) exact date.

     

    To learn more about this, feel free to clone this sample form and inspect the conditions.