Date Validation Formula for Input Validation Event in a Text Field

Mindwatering Incorporated

Author: Tripp W Black

Created: 10/08/2003 at 09:21 PM

 

Category:
Notes Developer Tips
Fields, Formulas

Server-side validation w/@Formula:
Following is example of input validation event for a TEXT field (not a date field) for when you want to store the date as text but still validate the structure / format of the date entered.

input validation.txt

Client-side validation w/JavaScript:
regex_date_validation.rtfregex_date_validation.rtf
I believe this reg-ex also handles leap year, function is expecting western date format of mm/dd/yyyy.


previous page