As the MouseUp event of "checkbox5" enter this code:
Many thanks - good so far, but I didn't think of all the possible scenarios. Here's the rest of what I need:
- If CB 5 is checked, CB 8 is automatically checked. (This is working OK.)
- If CB 5 is later un-checked, CB 8 remains checked. (This is working OK)
- If both CB 5 & 8 are checked, and CB 8 is later unchecked, CB 5 currently remains checked. I need CB5 to get unchecked in this scenario.
- In other words, in every scenario where CB5 is checked, then CB 8 MUST be checked. If CB5 is unchecked, CB8 can be checked or unchecked.
As the MouseUp event of "checkbox8" enter this code:
if (event.target.value=="Off") this.getField("checkbox5").checkThisBox(0, false);
By using both lines of code (for Checkbox5 and Checkbox8) - it works like a charm!