Good morning.
I am working on an idea for a form for a project and need some advice. The form will have several fields on it, but I'm only interested in two of them. They will be called [Start_Time] and [End_Time]. I know how to get the difference between the two, but what I need is for each field to only allow a time to be entered if it is between 7:00 am and 4:00 PM, without having to rely on the user to enter the time correctly. Ideally, what I would like is for the field to look at the time, decide if it falls out of the range, and change it accordingly. For example, if a user enters 2:00 (instead of 14:00 for 24 hour time), the system would automatically add 12 hours to compensate. I need to do this on both fields, but if you can show me how to do it on one, I can adapt it for the other.
Any help is ,as always, greatly appreciated.
Bear in mind that this is still in the conceptual stage, so no screen shot is available yet.
I am working on an idea for a form for a project and need some advice. The form will have several fields on it, but I'm only interested in two of them. They will be called [Start_Time] and [End_Time]. I know how to get the difference between the two, but what I need is for each field to only allow a time to be entered if it is between 7:00 am and 4:00 PM, without having to rely on the user to enter the time correctly. Ideally, what I would like is for the field to look at the time, decide if it falls out of the range, and change it accordingly. For example, if a user enters 2:00 (instead of 14:00 for 24 hour time), the system would automatically add 12 hours to compensate. I need to do this on both fields, but if you can show me how to do it on one, I can adapt it for the other.
Any help is ,as always, greatly appreciated.
Bear in mind that this is still in the conceptual stage, so no screen shot is available yet.