Is there a way to have a checkbox on a screen that simply changes a text value of yes or no?
So I want to ask a question with the user clicking a checkbox. The default value is no is the checkbox is not toggled, but if toggled it changes to yes.
Is there a way to have a checkbox on a screen that simply changes a text value of yes or no?
So I want to ask a question with the user clicking a checkbox. The default value is no is the checkbox is not toggled, but if toggled it changes to yes.
Yes, you can do that.
Just add 2 buttons to the screen, one for yes and one for no.
Then, add a text parameter to your collection to track the value.
True == yes, false == no.
See this example, I added a text parameter called “Enjoying the weather”. When Yes button is tapped, we set it to Yes.
Then, on the same button, enable Additional State 1 and set the variable to Logged in user > Enjoying the weather > is equal to > Yes
This is case sensitive, so make sure you capitalize or lowercase exactly.
Then do the same for your No button:
Result:
On no tap:
Thank you for this….I was toying with this idea, but I really wanted a single toggle that would store the response of Yes or No to a text field within the database. Was trying to get a bit more real estate out of the single toggle function.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.