![Picture of Matías montes Picture of Matías montes](/picture/user/234588.jpg)
Matías montes - 2006-11-15 15:55:37
The date input creates an empty option in the selects with the following format:
<option value=""></option>
This is not valid XHTML, as the option tag cannot be empty.
I fixed it by using a non-breaking space character (ALT + 0160) which the forms class then escapes to the entity:
<option value=""> </option>
Also, i was considering that it would be great if a date could be validated against the date set in another input.
For instance, I have two date fields called "start_date" and "end_date" and I wish to validate that "end_date" must be a later date than "start_date".
I think it would be a great upgrade.
Thanks