Jump to content

Datepicker on form needs age validation

Recommended Posts

I spent the better part of my weekend trying to find the code needed to require my Date of Birth field, which is a datepicker, to be a date that is age 18 or older. I even went to chatgpt and it printed me out some nice code but alas, it did not work. Is this even possible? I read you can add some javascript in either an html code box or inject it into the header/footer to make this happen.

Might anyone be able to help me on this?

Thank you,

Link to comment
  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.