I have 2 fields; start time and end time. Is there a way to validate that they enter the times in the correct format? Ex. 12:00
Here is the basic code:
Start Time: <input type="text" name="startTime"> (HH:MM format)
End Time: <input type="text" name="endTime"> (HH:MM format)
I found the link below which is kind of what I'm looking for, but it has alot of extra stuff that I don't need. I just want to validate the hour and minute.