Hi Eric,
Just so you can keep the code in one place, you could wrap the three fields in a subform and have this JavaScript code in the subforms calculate event;
if (TextField2.isNull && TextField3.isNull) {
TextField1.mandatory = "error";
} else {
TextField1.mandatory = "disabled";
}
if (TextField1.isNull && TextField3.isNull) {
TextField2.mandatory = "error";
} else {
TextField2.mandatory = "disabled";
}
if (TextField1.isNull && TextField2.isNull) {
TextField3.mandatory = "error";
} else {
TextField3.mandatory = "disabled";
}
Regards
Bruce