Validating a date
-
I want to add a birthday field, validate it with this regex: \d{1,2}-\d{1,2}-\d{4} but 01-02-1988 is always wrong?
Why
- The topic ‘Validating a date’ is closed to new replies.
Home / Plugin: Cimy User Extra Fields / Validating a date
I want to add a birthday field, validate it with this regex: \d{1,2}-\d{1,2}-\d{4} but 01-02-1988 is always wrong?
Why