Using this validation plugin
I am trying to do a check to make sure start-date is before end-date
The date is broken up into multiple drop downs.
here is the start date html, the end is very similar I am using jquery to populate the fields with numbers and values, also using jquery to set the start date to a certain time and end date to +5 hours ahead, with a change function (exactly like facebook)
<select name="month" id="event-month" class="select start" ></select>
<select name="day" id="event-day" class="select start"></select>
<select name="year" id="event-year" class="select start"></select>
<select name="hour" id="event-hour" class="select start"></select>
<select name="min" id="event-min" class="select start">
<option value="00">00</option>
<option value="15">15</option>
<option value="30">30</option>
<option value="45">45</option>
</select>
<select name="ampm" id="event-ampm" class="select">
<option value="am">AM</option>
<option value="pm">PM</option>
</select>
Now I just need to validate it so someone who chooses a end date that is before the start date becomes invalid.