If C35 is checked, C36 (pass) and C36 (Fail) should be disabled. C36(NA) should be enabled.
If C35 is unchecked, C36 (pass) and C36 (Fail) should be enabled. C36(NA) should be disabled.
You cannot set the readonly property on individual options of mutually exclusive checkboxes.
If you need per-option control, you have few viable approaches:
1. Give each checkbox a unique field name.
This allows readonly to be applied individually, but it breaks the mutually exclusive behavior, which then must be enforced with additional scripting.
2. Use scripting to display or hide specific checkboxes.
Instead of readonly, use the display property (display.visible or display.hidden), which does work at the widget level while preserving mutual exclusivity.
To test display property as Mouse Up action of checkbox C35 use this:
if (event.target.value !== "Off") {
this.getField("C36.0").display = display.hidden;
this.getField("C36.1").display = display.hidden;
this.getField("C36.2").display = display.visible;}
else {
this.getField("C36.0").display = display.visible;
this.getField("C36.1").display = display.visible;
this.getField("C36.2").display = display.hidden;}