Hey everyone,
I am building an app and I need it to validate that the 2 toggles I have on a particular screen are in the true position before it will let the user advance. How can I code this?
Thanks
Solved! Go to Solution.
Hi@Doddy83,
Based on the issue that you mentioned, do you want to verify that the Toggle value stays at the true position before proceeding to the next step?
Could you please share more about your scenario? @eka24 provided the correct direction. I assume that if both of the two Toggles are “true”, users can select in a ComboBox.
I have a test on my side, please take a try as below.
Set the ComboBox DisplayMode property as below
If(Toggle1.value=true&&Toggle2.Value=true,DisplayMode.Edit,DisplayMode.Disabled)
On your side, a standard formula can be written as below
If(Toggle1.value=true&&Toggle2.Value=true,true,false)
Best Regards,
Qi
Try:
If(Toggle1.Value=true And Toggle2.Value=true,"lll","TTTT")
Replace "lll","TTTT" Since you did not give all the details
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Hi@Doddy83,
Based on the issue that you mentioned, do you want to verify that the Toggle value stays at the true position before proceeding to the next step?
Could you please share more about your scenario? @eka24 provided the correct direction. I assume that if both of the two Toggles are “true”, users can select in a ComboBox.
I have a test on my side, please take a try as below.
Set the ComboBox DisplayMode property as below
If(Toggle1.value=true&&Toggle2.Value=true,DisplayMode.Edit,DisplayMode.Disabled)
On your side, a standard formula can be written as below
If(Toggle1.value=true&&Toggle2.Value=true,true,false)
Best Regards,
Qi
Hi@shant592,
Have you solved your issue?
If it solves your request, Mark it as a Solution to enable other users to find it.
Best Regards,
Qi
User | Count |
---|---|
183 | |
124 | |
88 | |
45 | |
43 |
User | Count |
---|---|
247 | |
156 | |
127 | |
78 | |
73 |