Using distinct callback functions for each type of error or state
Name:
(required)
Email:
Age:
(required and between 0 and 130)
City:
([A-Za-z.\-\s]*)
Birthday:
Choose a color:
Best Time:
Date and time of flight:
(Local) Date and time of flight:
Price:
500 <= N <= 5000