
September 4th, 2004, 10:34 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Javascript Date Validation
I have two date fields on a single form (Course Start Date & Course End Date). I need to validate the two dates so the validation must detect and reject the following data combinations:
1) Course Start Date and Course End Date both dates in the past.
2) Course Start Date a future date but Course End Date a date in the past
3) Course Start Date and Course End Date both future dates but Course Start Date is a later date in the future than is Course End Date
4) Course Start Date and Course End Date both alphabetic strings
5) Course Start Date valid but Course End Date an alphabetic string
6) Course End Date valid but Course Start Date an alphabetic string
Help is greatly appreciated.
Mo
Last edited by pegaafifm : September 4th, 2004 at 07:12 PM.
Reason: Typos
|