Just as a quick and dirty hack, I could get this to work:
Create an additional text field (read-only, hidden), and add the following script to the Calculate event (note that you have to replace "Group4" with the correct field name, and also note that the period after the field name must be maintained):
for (var i = 0 ; i < 4 ; i++) {
if (this.getField("Group4").isBoxChecked(i) == true) {
this.getField("Group4." + i).strokeColor = color.black ;
this.getField("Group4." + i).lineWidth = 0 ; // change for visual effect
} else {
this.getField("Group4." + i).strokeColor = color.transparent ;
this.getField("Group4." + i).lineWidth = 0 ;
}
}
You can get an even stronger visual effect when you set the lineWidth to 1, 2, or 3 in the marked line. When the value is set to 0, all you will see is the symbol, but no border (or just artefacts of the border).
You may have to adjust the field sizes.
Hope this can help.
Max Wyss.