I have one frame that contain 3 checkbox component instances. The frame has a text field that is tied to a numerical variable(selectedItem) that gets updated when a checkbox is checked and subtracts when unchecked.
If I create another frame exactly the same as the first(or just duplicate it), but change the the numerical variables on the text field and the checkbox variants to selectedItem_2, it doesn’t work.
Text Field: variable = selectedItem , initial value = 0
Checkbox actions:
unchecked variant - on Click set selectedItem to selectedItem + 1, change to State checked
checked variant - on Click set selectedItem to selectedItem - 1, change to State unchecked
Pretty easy right? Works with no issues.
Now in the second frame I substitute selectedItems_2 in place of selectedItems in the checkbox instance variants(checked/unchecked) and the text field.
Text Field: variable = selectedItem_2 , initial value = 0
Checkbox actions:
unchecked variant - on Click set selectedItem_2 to selectedItem_2 + 1, change to State checked
checked variant - on Click set selectedItem_2 to selectedItem_2 - 1, change to State unchecked