I have 3 UITextField
which receive user input. The UITextField
represent
- day
- month
- year
I would like to know how to restrict the user from inputting incorrect values into these UITextField
.
For example, number of days (1-31); if the user types 9 first, he is unable to type anything else after, as 9 is the only day in the month.
Or another example would be month (1-12); if the user types 5 thats their only option?