In this tutorial we will show how to create three checkboxes, exactly one of which is always checked. This construction uses Scripting. We will use GGBScript as it is more suitable for simple scripts.
1 Create three checkboxes, a,b and c.
SetValue[a,true] SetValue[b,false] SetValue[c,false]
Make sure GGBScript is selected in the drop-down menu. Don't forget to confirm the script by clicking OK. Close the Properties Dialog.
3 Repeat the same with checkbox b, just swap a and b in the script:
SetValue[b,true] SetValue[a,false] SetValue[c,false]
4 Similarly for checkbox c:
SetValue[c,true] SetValue[b,false] SetValue[a,false]
5 Try to click the checkboxes. At each time exactly one should be checked.
- Made by Slik - see Forum