• 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: Simple Date Validation

Simple Date Validation 11 years 10 months ago #24541

After trying and failing with some of the more complex solutions - i managed to implement date validation using regex:


Text field

Select Regex for Validation rule

Regex syntax:
#(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)[0-9]{2}#

This validates dd/mm/yyyy format

I am sure u can google for regex alternatives if you want another format
The administrator has disabled public write access.
The following user(s) said Thank You: johnatvision, eric.verbeek
  • 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!