Hi there again everyone,
I've got a form that asks a person's age by offering a dropdown for month, day and year of birth.
A couple of questions further down, it asks them if they have a work permit, but it's only applicable if they are under 18.
If they're over 18, on form process I don't want to even bother with the question. The format that my values are in are as follows:
dob_m = 'Jan'
dob_d = '12'
dob_y = '1970'
Can I use strtotime to determine the age of someone and then decide whether to present the question for asking?
It's a two part problem, I guess. First I have to determine the age, then decide whether to present the question by using a </> determination using the previously calculated age. I've just never worked with the data in this way and am not sure how to get the script to make this decision.
thanks,
json