I have two dropdowns on a form. One for the start time and one for the end time. Before submitting the form I'd like to insure that the end time is not less than the start time.
So, if the user does this
Start Time: 12:00 PM
End Time: 11:00 AM
the CompareValidator would fire.
I can't get the CompareValidator to fire though. Am I doing something wrong? Please see code.
<asp:CompareValidator ID="CompareValidator2" runat="server"
ErrorMessage="Your End Time cannot be less than you Start Time."