I want to include an optional set of date setting fields on a form - A
dropdown for day (01 - 31 with a blank value), a dropdown for month
(01 - 31 with a blank value) and a four digit year input field.

The validation is as follows:

* The date is optional, if all fields are blank then assume no date
* If one of the fields is not blank then all of them have to have a
value
* The three fields taken together must specify a valid date (no 31st
of February)
* The date must be today or in the future

How do I do this with the jQuery validate plugin?

Reply via email to