Validation from relation managers
Are there any methods or techniques to allow for grouping validation behaviour between a resource's form and relation managers?
Example: when trying to submit a resource with of a form and, say, a 'related worker' relation manager, would like to be able to have a validation rule that requires a minimum of 2 related workers, or... 1 worker of a specific type. The resource's validation process would fail if one of the relation manager conditions fails.
Unsure how best to address this. TIA.
Example: when trying to submit a resource with of a form and, say, a 'related worker' relation manager, would like to be able to have a validation rule that requires a minimum of 2 related workers, or... 1 worker of a specific type. The resource's validation process would fail if one of the relation manager conditions fails.
Unsure how best to address this. TIA.