Try something like this <input type="checkbox" token="checkbox" id="checkABC">
<label></label>
<choice value="All">All</choice>
<choice value="AA">AA</choice>
<choice value="BB">BB</choice>
<choice value="CC">CC</choice>
<change>
<condition match="match($checkbox$,"All")">
<unset token="A"></unset>
<unset token="B"></unset>
<unset token="C"></unset>
<set token="form.checkbox">All</set>
</condition>
<condition>
<eval token="A">if(match($checkbox$,"AA"),"A",null())</eval>
<eval token="B">if(match($checkbox$,"BB"),"B",null())</eval>
<eval token="C">if(match($checkbox$,"CC"),"C",null())</eval>
</condition>
</change>
<default>AA,BB,CC</default>
<initialValue>AA,BB,CC</initialValue>
<delimiter>,</delimiter>
</input> Once All has been checked, you can't set anything else until All is unchecked. By setting the default to all options, when All is unchecked, all the options are checked. Obviously, you can use a different default if you prefer.
... View more