Question

Need to add form validation for under 18

  • 17 August 2022
  • 1 reply
  • 17 views

Badge

Hello, I haven’t necessarily found the right javascript for this.

 

I need to add a form validation, there are three form fields (MM/DD/YYYY), so that if the person is less than 18 they cannot continue and submit the form.

 

I know there are some javascripts here but they don’t seem to match exactly what I am trying to do.  

 

If someone could help I would surely be grateful!

 

 


1 reply

Userlevel 4
Badge

Hey @jaredberryman ,

 

Thanks for posting your comment in the Community :-).

 

Looking through this Community thread, I have a feeling this would be vey tricky to implement on a native Unbounce form using regex, although there may be someone out there much smarter than me who could work it out.

 

Have you considered embedding a 3rd party form with this feature built in? I had a look around and found that this should be possible with Jotform. You can find more info here.

Reply