Camillia
asked on
Validate date
This code validates date in mm/dd/yyyy format.
I also need to validate in dd/mm/yyyy format. How can I change it to do that?
http://www.javascriptkit.com/script/script2/validatedate.shtml
I also need to validate in dd/mm/yyyy format. How can I change it to do that?
http://www.javascriptkit.com/script/script2/validatedate.shtml
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks, let me try.
so change
var monthfield=input.value.spl
var dayfield=input.value.split
to
var dayfield=input.value.split
var monthfield=input.value.spl