Answered
Maybe simple code???
I am trying to check a box after I have checked 4 other boxes.
something like
Checkbox 1 if
Checkbox2=true and
Checkbox3=true and
Checkbox 4= true. But I can't seem to figure out the code.
Thanks in advance.
I am trying to check a box after I have checked 4 other boxes.
something like
Checkbox 1 if
Checkbox2=true and
Checkbox3=true and
Checkbox 4= true. But I can't seem to figure out the code.
Thanks in advance.
Use this in Checkbox2,Checkbox3 and Checkbox4 as Mouse UP action:
var c2 = this.getField("Checkbox2").valueAsString;
var c3 = this.getField("Checkbox3").valueAsString;
var c4 = this.getField("Checkbox4").valueAsString;
var count = 0;
if(c2 != "Off" && c3 != "Off" && c4 != "Off")count=1;
this.getField("Checkbox1").checkThisBox(0, count == 1 ? true : false);Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.