The OnSelect of a button in my app Set(varM1P,varM1P+1) to count in a DatacardValue. The Default is varM1P. The forms do not reset at all after a submit.
OnSelect of Submit:
'Hand Hygiene Audit App',
Solved! Go to Solution.
Yes. The variable resets now but when I go into the gallery to open the item it clears the data because the variable is still active. I have the same issue using UpdateContext.
Hi @FernandB ,
You seem to have a circular issue with your form and the variable - your original post was about resetting and seems to be solved. I cannot see your form, but have a look at the content and how it relates to the Variable.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
I used UpdateContext to update the variable for the OnVisible of the screen and this seems to have been the issue.
varMode = "Edit",
varM1P: Value(varRecord.'Moment 1 Before patient or environment contact (Completed)'),
Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.
Your chance to join an engaging competition of Power Platform enthusiasts.