Date field not forced in firefox – marks most input as invalid
-
I’ve used a date field for a booking form on a website.
In chrome, it looks great – dropdown calendar, clear dd/mm/yyyy in field which forces a person to type it properly.Only problem is, in firefox (latest version, windows 7) you can type whatever text you want into the field. BUT it still checks if it’s a valid date format and rejects it as invalid if it’s not in the dd/mm/yyyy format. Someone might happily type “8th May” and not be able to submit the form.
I’ve had to turn the date field into a text field to let people submit the form.
I realise this is hard to keep consistent across so many browsers, but maybe a warning somewhere to use with caution? It was live on a site for months before someone complained.
- The topic ‘Date field not forced in firefox – marks most input as invalid’ is closed to new replies.