I am looking to implement the following validation at Create screen for the user:
First Selector option:
Change Type = Normal
Change Type =Emergency
Validation to be applied:
If Change Type = Normal
then
Field [Change Start Date & Time] may not be before the following Friday 11am (CAB is at this time and no normal change may be started before CAB approval is done at this time).
Field [Change End Date & Time] may not be before or equal to [Change Start Date & Time].
If Change Type = Emergency
then
Field [Change Start Date & Time] may be any date and time
Field [Change End Date & Time] may not be before or equal to [Change Start Date & Time].
The validation should present a meaningful error as well if possible to show where the issue is. All 3 fields mentioned above is mandatory fields within the create screen of this request type.
How do I go ahead in implementing this?