Time field validation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gregg Daug
    New Member
    • Oct 2011
    • 1

    Time field validation

    In my ASP.NET MVC form I have a Date text field and two dropdown fields, Start Time and End Time. When a user selects time from a dropdown StartTime field that is less than the current time I'd like to have a "past time" alert pop-up.

    Also, I'd like to disable the past times for selection. So I can select only times starting from current time. How is it possible? How can I filter the times and specify a condition?

    I have a jquery plugin integrated into this asp.net mvc app.

    I'll appreciate your advise!
Working...