How can I force a specific item in a checkbox group to be checked?

@jimyaccino You’re real close. When you assign the selectedIndices again you are, in effect, wiping out the other values and assigning 1 as the only selected index. Using the JS push function, adding 1 to the selectedIndices array, will solve it:

export function checkboxGroup1_click(event) {
 let selectedIndices = $w("#checkboxGroup1").selectedIndices;
 if (selectedIndices.includes(1)) {
     console.log('............................selected index does include ', 1)
 } else {
     console.log('............................selected index does NOT include ', 1)
     console.log('Before adding 1 :', selectedIndices)
     selectedIndices.push(1);
     $w("#checkboxGroup1").selectedIndices = selectedIndices;
     console.log('After adding 1 :', selectedIndices)
 }
}