No, I just want to allow the user to select an option, and then set a variable’s value according to which checkbox was checked.
Let me rephrase, you are checking if the button’s text is a tick and then setting it to a tick. Shouldn’t that be the opposite?
Oh yes! Thanks for catching that. I have changed it now.
Somehow, it isn’t setting the button’s text to (empty text).
I get label 1’s text as label so i don’t see a problem here at all!
I don’t get any text in my label. Which browser are you on?
I have checked a box, but Label1’s text is still 50 words.
It remains “50 words” for me. What browser are you on?
I am on firefox 88 i think in linux
Ya i tried live testing it samething
before i was just using preview
I’m on Chrome, on a Windows computer. Could that be the problem?
unlikely, try refreshing or use the preview as responsive web app
My label stays the same on both Live Test and Preview.
Hey again,
I found why you couldn’t unselect all. It is because of the else in your code, i’ll attach a screenshot. You don’t need the else at all.
Thanks! I’ve updated my code.
I’ve tried both. Nothing is working.
Last resort is incognito or try another browser. Not sure if it will work but i’ll guarantee there is no problem with your code.
@domhnallohanlon Is this a bug? This variable is behaving really weirdly.
@codeswept can you try this and see how it works for you?
https://x.thunkable.com/projectPage/609a8f7cbaf8030aab38f25c
Yep, this works for me. What is the matter then?
You could open my full project by searching for my username in the project gallery. It’s for WDC 14.
Wait, what is the problem?
I have stated a lot of times that my stored variable is not saving, and no code after my set variable value is not executing.