Preventing underage users from submittting the form

  • lenhartb
    Asked on April 8, 2016 at 9:03 PM
  • Chriistian Jotform Support
    Replied on April 9, 2016 at 1:50 AM

    Hi, to assist you further, please give us more details regarding your concern.

    Are you working on the form http://www.jotform.us/form/50854355500148? Do you want to see in your submissions page whether the user who submitted your form is an underage? What ages should be considered underage by your form?

     

    We will wait for your reply.

  • lenhartb
    Replied on April 9, 2016 at 6:45 AM
    As a person is completing the form, they have to enter age. When they enter their date of birth it warns them they are under age. When they enter the date of birth for the person they are applying against, it also warns them that the person they are applying against is under 18 and tells them to e-mail me.
    Sent from my iPhone
    ...
  • Boris
    Replied on April 9, 2016 at 8:30 AM

    Yes, this is possible to achieve by using conditional logic on your form, and a text field that will display the message to contact you. You can see a demo of the age calculation in general here:

    https://form.jotformpro.com/form/51613647325959

    We can achieve the same calculation on your form with just one condition. The first step would be to use a Text field to provide your custom message for underage people:

    Preventing underage users from submittting the form Image 1 Screenshot 40

    Second step would be to create a show/hide condition, which will be set up as:

    IF Date of Birth is after value today-6574
    IF Date of Birth (provide if at all possible) is after value today-6574
    IF any of the above rules are met
    SHOW Text field
    HIDE Submit button

    Preventing underage users from submittting the form Image 2 Screenshot 51

    Preventing underage users from submittting the form Image 3 Screenshot 62

    Here is a demo form where you can see this condition in practice. I've removed the Page Break field, so that the entire form is displayed for demonstration purposes:

    https://form.jotformpro.com/form/60993160921962

    Let us know if you need any further assistance in setting it up, and we will be happy to help.