Announcements
I have a app screen that has multiple forms with toggle button for progress. When they have all been verified by a supervisor, I wish to have the ability for a user to reset them back to their "not complete" status, either by another button on a different screen (part of the progress of the verification is a final QAQC check by a different user) or by a user on the same screen as the form. (does the view edit form matter??)I am trying to use a Reset function but it wont work. What is the best solution? Thanks.
If you use the ResetForm() function with semi-colons to separate the functions you'll be able to reset both forms, even on separate pages. Such as: ResetForm(Form1);ResetForm(Form2);
Added it in the OnSelect as instructed and it doesnt work. The forms stay the same.
// OnSelect property of the button ResetForm(Form1); ResetForm(Form2); ResetForm(Form3); // replace with your form names UpdateContext({resetToggles: true}) // OnVisible property of the screen UpdateContext({resetToggles: false}) // Reset property of the toggle controls resetToggles ​
Works but reset them to to be true.
you can change the value of the context variable in the OnSelect property of the button. For example, you can write:
UpdateContext({resetToggles: false})
This will set the resetToggles variable to false, which will reset the toggles to their default values. You can also change the default values of the toggles in the Default property of each toggle control. For example, you can write:
Default: false
This will make the toggle off by default. You can also use other expressions or values to set the default state of the toggles.Do not forget to like if it help out or mark as complete if the help lead to a success
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 993
Valantis 675
11manish 545