What is the actual output of a switch or checkbox? Is it a binary logical, or a text string like “true” or “false”? Any how do we make use of the ‘newvalue’ output? I’m not getting this to work at all.
I tried using the ‘newValue’ directly in an ‘if’ statement and it did not evaluate.
I’m writing ‘newValue’ directly to a label right away to verify that it does change and I get “true” or “false” there as expected.
So I try evaluating the output as text, ‘if (newValue = “true”)’.
But this isn’t working either. Any examples/tips out there?
[ I need help with my check box - #5 by tiny_apps
suggests that ‘newValue’ can be evaluated directly]