I've searched the forums, but can't seem to find a similar enough example to adapt to my situation.
I have a situation where there are four listboxes that initially we want disabled (grayed out) on a form. Directly above each listbox, there are two checkboxes associated with each listbox. When both of those two checkboxes are checked, I want the listbox below it enabled. How can I achieve this? I want to do this in Acrobat and not Lifecycle.
Thanks! Lainie
You can use this code as the MouseUp event of BOTH check-boxes (adjust the field names as necessary):
var checkBox1 = this.getField("CheckBox1").value;
var checkBox2 = this.getField("CheckBox1").value;
if (checkBox1!="Off" && checkBox2!="Off") {
this.getField("ListBox1").readonly = false;
} else {
this.getField("ListBox1").readonly = true;
}