HI,
I have 2 date fields on form. StartDate(fromDate) and EndDate(toDate). Currently I have a calender image which is linked with javascript to click on date and it comes/populates on the text field. User cannot add the date directly in the text field.
But now the user should also be allowed to put the dates with hand type in these 2 fields and also could use the calender if they want to use (they can click on it and the date populates).
what is generally done in this case? The required format is mm/dd/yyyy format. But the user could also enter dd/mm/yyyy format. It the date is likely to be understood like 12/25/2005 it's ok. But if user enters by mistake dd/mm/yyyy like 25/12/2005 then it's an error. How is the format checked? How is it validated?
Is it checked with javascript at client side or checked in backend side in
java application?
[ May 26, 2005: Message edited by: Bear Bibeault ]