What’s a good way to handle date entry into a form and make sure that the year is specified/interpreted correctly? Currently, I have a hook in my model which examines date fields and handles them with this code:
Thanks; I do have a validation for a valid date with a custom message. I’ve suggested the datepicker. I could also allow a ‘sliding range’ of date values, say 1970 - 2069 without much problem. But simple text entry is more efficient as the user doesn’t have to take their hands off the keyboard.