• 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: Date validation

Date validation 11 years 1 month ago #27129

  • rbosboom
  • rbosboom's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
Hello all,

Can anyone help me with a custom validation rule for date? In a customer form I have a textfield where visitors ar asked to enter a date. The validation for this field has to be like 08-04-2014.

Is there a way to check if the date is entered correctly?

regards,
Rob
Last Edit: 11 years 1 month ago by rbosboom.
The administrator has disabled public write access.

Date validation 11 years 1 month ago #27146

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello,

You can consider using the calender field instead, which was actually designed for such a case. The calendar field allows setting the date format as well as making the input readonly(thus, users will have to select the date).

More information on this field can be found here:

www.rsjoomla.com/support/documentation/v...le/833-calendar.html
This is not official customer support. To receive your support, submit a support ticket here.
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!