I've read an earlier discussion about disabel checkboxes but the discussion was to advanced for a rookie like me,
(In Adobe Acrobate DC I'm doing a fillabe form.)
There are three checkboxes named: checkbox1, checkbox2 and checkbox3.
I wish the following to happen:
When checkbox1 is checked:
// set readonly property based on the value of this field compared to "Off";
this.getField("checkbox2").readonly = (event.target.value != "Off");
this.getField("checkbox3").readonly = (event.target.value != "Off");
Thanks a lot gkaiseril,the script is working well .
Is it possible though to get checkbox2 and checkbox3 unchecked (if they were previously checked) when they become disabled by checking checkbox1?