
Announcements
Hello,
I have a form that is currently set to new and I have since gotten a request that some values do not clear out when hitting the submit button while having a button to clear the phone. I have the clear button done with no issues but I am having issues getting started on keeping the values. It is an inspection application (PowerApps) and the datacard value are Address and City and wanted to keep the values when they submit the form. The reason for this the tech inspect 4 houses on the same street and only need to change the street number.
Hi
An option you have is to create context/global variables that would store the data you want to remain on the form.
They can be set OnVisible of the screen or when Submitting the form.
Then you set the default value of the text input (or whatever input) to these variables.
OnSuccess of the form i.e. after submitting the form, reset the form "ResetForm(formxxx)". This would reset the input to those default values which are your variables