Dynamically Making a Field Mandatory

While I appreciate there are a few ways of of validating whether a field is empty or not, it becomes very inconsistent and not very user friendly when you have certain fields that are marked as mandatory and others are depending upon the value of others.

Thus, is there a way to make a field mandatory (Required) dynamically beside when doing “onValidate”? The same as if you had marked the field in “Edit Fields” as “Required” .

The only way I could find is to check the mandatory fields in the onvalidate event. You cannot override the default behaviour, so there’s some hard coding required I’m affraid.

:wink: Thanks