Forums

Date field validation problem in IE

BradC 22 Aug, 2010
Hi
I have a required date field with a date picker. In Internet Explorer, when you select a date it returns the validation error message when it shouldn’t. If you click in the date field a second time the message goes away. Does not happen with Firefox.
You can view the form here: http://www.development.affinitygolf.com.au/register-your-clubs
Have also used the form wizard to create a form just in case it’s my form, but this also gives the same error.
GreyHead 22 Aug, 2010
Hi BradC,

I had to work quite hard to work out exactly when it happened. I think that it is because the message is cleared when the user clicks out of it and IE doesn't recognise the script changing the entry. So it is only when you actually click in the field that the check is re-run and the message cleared. Not sure what to do about it though apart from hacking into the LiveValidation code.

Bob
snaxmuppet 30 Sep, 2010
Bob, Is there nothing we can do to get the date validation to work in IE without having to click into the field? I have a site that is used a lot by kids and explainaning that they have to click into the field to get it to validate is a bit of a nightmare!
GreyHead 30 Sep, 2010
Hi snaxmuppet,

I'm not sure: a custom validation possibly? Switch to server-side validation for the date? Exterminate IE?

Bob
This topic is locked and no more replies can be posted.