Link to home
Start Free TrialLog in
Avatar of dBedient
dBedient

asked on

CFINPUT Validate date as 1922

I am trying to validate dates. If the person enters a 2 digit year, it accepts it but by default it appears that anything below 30 goes to 2000 and anything 1900 for anything above. How can I validate 26 as 1926 when it assumes I mean 2026? Is there a way to specify a date range? OR how can I force a 4 digit year?

I know I can check after the fact for a future date.

Thanks,
Doug
ASKER CERTIFIED SOLUTION
Avatar of js_vaughan
js_vaughan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial