This topic contains 2 replies, has 3 voices. Last updated by Cristián Lávaque 4 years, 2 months ago.
| Topic Author | Topic |
|---|---|
| Posted: Saturday Oct 20th, 2012 at 12:33 am #29098 | |
|
Just came across this when using the specific format “Date” within custom field creation: The JS regex that validates the format is this:
This doesn’t check for a valid date according to the dd/mm/yyyy format stated, rather it checks for any 2 digits separated by forward slashes (with any 4 digits on the end). In order to have the format validated for a real date I’ve updated my regex to:
(I’ve changed mine to be mm/dd/yyyy format, with the year having to be within the 20th or 21st century) Not perfect, but at least it guarantees I get a date in mm/dd/yyyy format.
|
|








Pre-Sale FAQs
Video Tutorials
Community Forum
Knowledge Base
News/Updates
s2 Codex / Docs
GPL v2 License
Contact A Human
About Us
Our Customers
Support Policy
Privacy Policy

