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

  • Profile Image
    miabeawines
    Asked 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
    AA_C
    Answered 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?

    Robert 

  • Profile Image
    abajan
    Answered 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?