Copy link to clipboard
Copied
Copy link to clipboard
Copied
You can use this code as the custom Validation script of the main field:
var otherFields = ["Text1", "Text2", "Text3"]; // replace with actual field names
for (var i in otherFields) {
this.getField(otherFields[i]).required = (event.value!="");
}