Synchronize two groups of checkboxes
Hi Experts
I have 2 groups of 4 checkboxes, using different names and using different export values.
So I need to synchronize the 2 sets using the nWidget number of the ticked checkbox (I carefully created them in the same order).
I know how to tick a checkbox using checkThisBox but I don't know how to get the nWidget number of the ticked checkbox.
Here my not working script:
var nIndx = this.getField(event.target.name).nWidget;
console.println(nIndx);
this.getField("targetCheckbox").checkThisBox(nIndx, true);
But the var nIndx stays "undefined".
Thank you
