SOLVED: CheckboxGroup: Where's the 'checked' property?

Purpose: I need to programatically set the “checked” property of certain CheckboxGroup options.

I understand that a CheckboxGroup contains an options Array, each option containing a name and a value.

I am having trouble understanding how Wix reads and writes the checked property of each option. As far as I can tell, that does not exist.

A) Does Wix automatically generate a Checkbox for every option? If so, how do I access those Checkboxes and set the .checked property?

B) If not, then how does a dataset read the checked property on each option of a CheckboxGroup?

@aceaspadesblack It’s the selectedIndices property that you have to deal with, and it doesn’t play as nice with datasets as most of the other elements. In other words, you will need to write some code to read and write the array of numbers that selectedIndices requires.

I must have overlooked that a dozen times. That is excellent, thank you.