Buy Now
Sign in

form creation

adrilopez , June 16 2014
A
adrilopez
I need to create a registration form. With this form I need to get user data, receive a confirmation email both to me and the user, store the data on a database table.
Also, In the field birthdate need to calculate the age. The legal age to continue filling the form is greater than 17 years to 25 years. If not in this range then the other fields and can not be filled and send.
GreyHead
Hi adrilopez,

The code to calculate an age from a date of birth was posted here a week or two ago if you look for it. It's in PHP so suitable for serverside validation after the form is submitted.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much