• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Regex: Newb question

Regex: Newb question 13 years 7 months ago #14864

  • rene82
  • rene82's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hi people

I want validate an age (ie only allow people of a certain age to register through a form). I'm figuring that the only way to do this is with regex validation - but even though I've searched this forum and the net, I can't work out how to do it. I'm a newb people - please help me.

rene82 :S

PS What I'm doing is for a charity that helps the homeless
Last Edit: 13 years 7 months ago by rene82.
The administrator has disabled public write access.

Re: Regex: Newb question 13 years 7 months ago #14885

Hi Rene,

you could try this. I've used it to allow people from 18-85 to enter our competitions

^(1[8-9]|[2-5][0-9]|8[0-5])$

Regards,

James
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!