I have a problem where the start time and end time for stoppages are to be entered into an app which records all data for a shift for a machine. The shifts are: 6 am to 2 pm, 2 pm to 10 pm and 10 pm to 6 am. There is a separate app for each shift.
I would like to ensure that the user cannot enter timings before the start of the shift, or after the end of the shift. For example, in the app for the 3rd shift, he should not be able to enter a start time of say 9 pm or enter an end time of say 7 am.
Can you provide this type of check, similar to what you have provided for number fields?
Comments
4 comments