Business Case: Make fields selectively required
Example: Business Class: JobRequisition
Form: JobRequisitionInformation
The fields Category and SubCategory have been hidden and are not required for the requisition initiator. Those fields are visible AND required for the Recruiter. Since the fields are not initially required, I can't make the field required and leave it blank until the Recruiter gets to it.
When I apply a constraint, it performs as expected however, it also has the unintended consequence of affecting the select lists - which return no records when the constraint is applied. When the constraint is removed, the select list performs as expected.
1) Is there a way to make a field "required when (<condition>)"?
2) Is there a way to apply a constraint to a field that has a select list attached without affecting the select list results?
----------------------------------------------
This is the example that did not work - the constraint performed as expected however it also affected the select list so it returned no results.
visible when (IsARecruiterLH)
Category
select is PositionCategorySelectNoStatus
constraint (Category entered and IsARecruiterLH or not IsARecruiterLH)
"CategoryIsRequired"
SubCategory
select is ResourceSubCategorySelect
constraint (SubCategory entered and IsARecruiterLH or not IsARecruiterLH)
"SubCategoryIsRequired"