Hello, I am looking for assistance to create an error message when two fields on a form contain conflicting data.
On the LRCPositionDetail form, I want to create an error message when TribalEnrollmentRequired = 0 and TribalEnrollmentRequiredReason value = “OPEN” since this combo would not make sense in a job posting.
Note: The Reason field will also be required, regardless of the other field’s value.
Position is the Business Class
TribalEnrollmentRequired is Boolean
TribalEnrollmentRequiredReason is a field with states, one of which has value of “OPEN”
Error message “Reason_is_Invalid_for_Selection”
Hoping to make this change to the form, however the fields are also configurable.
Things I have tried that do not quite meet my needs: Making the Reason field required, making the Reason field required when TribalEnrollmentRequired field = 1. (required regardless)
Code I am looking to change:
two column
TribalEnrollmentRequired
KeyPosition
CriticalPosition
FrozenPosition
TribalEnrollmentRequiredReason
required
label is "Reason"
KeyPositionReason
label is "Reason"
CriticalPositionReason
label is "Reason"
FrozenPositionReason
label is "Reason"