Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Validate age

$
0
0

Replies: 0

Hi. Me again
My form allows the user to choose a membership category e.g.
Adult
Junior
Pensioner

I’m trying to figure out how to validate (apply boundaries to) the date range in the date of birth field for the category chosen e.g.
Adult must be >= 19 and < 65 years
Junior must be <= 18 years
Pensioner must be >= 65 years


Viewing all articles
Browse latest Browse all 59525

Trending Articles