Check box triggers on check... won't clear on uncheck.
The following JavaScript works great to autocheck and auto fill when checking CB04. If I make a mistake and check CB04 and need to uncheck it, I need the script to undo the other boxes/fields that were mistakingly filled.
Export Value: Yes
Mouse Up - Run a JavaScript
var c04 = this.getField("CB04");
var c06 = this.getField("CB06");
var f03 = this.getField("FE03"); // Example: JOE
var f04 = this.getField("FE04"); // Example: WORKMAN
var f10 = this.getField("FE10");
var f12 = this.getField("FE12");
var f13 = this.getField("FE13");
if(c04.isBoxChecked(0,true)){
c06.checkThisBox(0,true);
f10.value = f03.value + " " +f04.value;
f12.value = "JOHN WORKSALOT";
f13.value = "GEORGE DOESNT";
}
