Hi everyone,
After a user submits a form, if they have made a mistake they can go to the form and click the edit button, on the edit buttons OnSelect I have this:
Set(varModeEdit,!varModeEdit)
This works fine, but I have set it so it can't be edited if the form has passed the first approval.
This too works fine.
But I've noticed a backdoor in my code, if a user goes to another form they have submitted and clicks the edit button and then goes back to the gallery and clicks the already approved form, this already approved form appears in edit mode... and I want the variable to reset when a user selects an item from the gallery, or when they navigate to my SucessScreen