Problem with checkboxes

I need help with the checkbox .changed status I want to set the checkmark visible to true or false. The app will add 1 when I check the checkbox with 1 value and when I choose 0 value it will substrate 1 from sum.
initialize screen- all checkboxes checked false
sum=0
1 (chechbox2) checked =true
sum =1
1 (checkbox4)=check
sum=2
when
0 (checkbox1) Checked = true
set
1(Checkbox2).Checked ((mark)) to false
then
sum=1

testekrafst2.aia (3.3 KB)

Your logic verges on the bounds of chaos theory :slight_smile:

What are you hoping to achieve ? If we can understand this, it may be easier to help you find a solution. Explain what all the checkboxes are for, why checking a box adds or subtracts form the count/sum, why one checkbox cancels another, etc.

why the button_value is a list of list of list?

1 Like

in my mind it's easy :grinning: when I press the 1 (checkbox2,checkbox4checkbox6) of the sum list it will add 1, when I check 0 (checkboxes1,checkboxes3,checkboxes5,) it will substrate 1 from the sum and uncheck the 1box from the same row...

story of my life :joy:

2 Likes

I found these blocks from here

Is it as simple as this ?

2 Likes

Another version

testekrafst2_3.aia (3.2 KB)

4 Likes

Thank's both Juan_Antonio and TIMAI2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.