I am trying to create a variable that stores the name of the person who toggles a switch.
At the start of the App i initialiase a variable with:
Set(
varUser,
User()
);
I created a Toggle input called "Toggle_LoanUser".
I set the Oncheck value of the toggle to be "
Set(var_LoanUser ,varUser.FullName)
I then input a label with the text value set to var_LoanUser
I would expect the the label to display the name of the user who clicks the toggle button. However the label always remains blank regardless of toggle position.
The var_LoanUser variable is also blank regardless of the toggle position.
Why doesnt the variable var_LoanUser update with the toggle switch?
If you are getting this issue when you test the app, you will first need to run App Onstart.
It should work fine otherwise.
Cheers!
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.