Click here to Skip to main content
15,851,387 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how to validate start time and end time drop down lists.
Posted
Comments
Sergey Alexandrovich Kryukov 14-Jul-11 4:59am    
What does it mean?
--SA
Pete O'Hanlon 14-Jul-11 5:05am    
What validation would you like? Are you just checking that they've selected them, or that the end time must be after the start time? When you ask a question, sit back and ask yourself if you've provided enough detail for somebody to be able to help you. I typically view this as, given the question, could I develop this functionality? In other words, your question should almost be a specification.

1 solution

Well, at a guess, I would suggest taking the values from each list and comparing them against some criteria (ranges?) that you have decided on. If all values fall within the limits of your criteria, then they are validated.

Alternatively, you could provide some more detail of exactly what problem you are trying to solve.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900