cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to set property when click different/multiple buttons?

Highlighted
Level 1

How to set property when click different/multiple buttons?

Hi all,

I want to know how to trigger set property after click on different buttons:

If we have 4 buttons: a, b, c, d, there are 15 options to choose (a,b,c,d,ab,ac,ad,bc,bd,cd,abc,abd,acd,bcd,abcd) and the options will return different values.

Is it possible to set one value based on the different buttons selected?

2 REPLIES 2

Re: How to set property when click different/multiple buttons?

If I'm understanding your use case correctly, you would need to create a service that tracks the buttons selected and then assigns a value based on that. You may try looking into boolean flags. assigning it with each button click and then comparing the combination at the end.

Re: How to set property when click different/multiple buttons?

Hi Cheung, Why don't you use the Checkbox for ABCD and then a button to upload the answer?