Page 1 of 1

Age-Specific Registration Validation

PostPosted: December 29th, 2011, 10:17 am
by mallen
I'm using s2Member Pro v111220 for the registration process on a membership site in which membership levels are age-specific. Does anyone have ideas on how to automatically reject s2member registration if a Date of Birth entered does not fall within a specified age range?

Example: One type of membership is for youth 17 & under only. If a user entered a birth date falling in 1990, the user would be too old for this type of membership and should be rejected before payment.

Is this possible in s2member? Or will a site administrator have to do this manually?

Re: Age-Specific Registration Validation

PostPosted: December 29th, 2011, 10:52 am
by Eduan
Please try this post and tell me if it helps:
viewtopic.php?f=4&t=15715

The idea is to collect, when they register, the fields and use things similar to what's on this video:
http://www.s2member.com/custom-fields-d ... lly-video/

Hope this helps. :)
Also remember to report back,
otherwise you leave me worrying. ;)

Re: Age-Specific Registration Validation

PostPosted: December 29th, 2011, 11:17 am
by mallen
Thanks so much for your quick reply!
Looks like that may help, but that it may be beyond the time/experience level I have to work on it right now. Also not sure if that method will work with the registration format we have in place.
I'll save the links as resources in case it's a topic my client wants to revisit eventually. It may be a bridge that has to be crossed if problems arise with users filling out incorrect registration forms. My client may need to decide whether it is worth hiring a PHP developer, or if the issues can be handled on a manual case-by-case basis.
Thanks again for looking into this for me!

Re: Age-Specific Registration Validation

PostPosted: December 29th, 2011, 11:26 am
by Eduan
You can check this post into hiring freelancers for you:
viewforum.php?f=37

Hope this helps. :)

Re: Age-Specific Registration Validation

PostPosted: December 29th, 2011, 11:30 am
by mallen
Great! Thank you!

Re: Age-Specific Registration Validation

PostPosted: December 29th, 2011, 11:39 am
by Eduan
You're welcome!

Anything else you need just post. ;)