I have created a powerapp that for the end user the first screen is a blank/new form and the second screen is a confirmation screen with a label thanking them for sumitting the form. When I add the link to the live site it works really well, except for the fact that upon sumitting the completed form, the end user sees a previously filled in form flash up really quickly before it navigates to the confirmation screen. As soon as it flashed up it's gone again but this is a concern from the point of view of making future apps comtaining sensitive information.
Anyone have any ideas why it's doing this?
Solved! Go to Solution.
Hi @AnnaBrodnicki,
Could you please share a screenshot about the issue within your app?
I have made a test on my side and don't have the issue that you mentioned. The screenshot as below:
The user @GK_BPL has faced same issue with you, please check the response within the following thread:
https://powerusers.microsoft.com/t5/General-Discussion/when-submitting-a-new-form-it-will-flash-an-o...
Please take a try to set the OnSelect property of the "Submit" button to following formula:
SubmitForm(Form1);
Navigate(Screen2,ScreenTransition.Fade);
ResetForm(Form1) /* <--- Add this code */
Note: The Form1 represents the Edit form control within your app. The DefaultMode property of the Edit form control set to following:
FormMode.New
Or you could also consider take a try to set the OnVisible property of the first screen (which contains the the blank/new form) to following formula:
NewForm(Form1)
then check if the issue is solved.
Best regards,
Kris
Thank you. No I don't think I do have an expression between submit and navigate, could this solve the issue?
Hi @AnnaBrodnicki,
Could you please share a screenshot about the issue within your app?
I have made a test on my side and don't have the issue that you mentioned. The screenshot as below:
The user @GK_BPL has faced same issue with you, please check the response within the following thread:
https://powerusers.microsoft.com/t5/General-Discussion/when-submitting-a-new-form-it-will-flash-an-o...
Please take a try to set the OnSelect property of the "Submit" button to following formula:
SubmitForm(Form1);
Navigate(Screen2,ScreenTransition.Fade);
ResetForm(Form1) /* <--- Add this code */
Note: The Form1 represents the Edit form control within your app. The DefaultMode property of the Edit form control set to following:
FormMode.New
Or you could also consider take a try to set the OnVisible property of the first screen (which contains the the blank/new form) to following formula:
NewForm(Form1)
then check if the issue is solved.
Best regards,
Kris
thank you @v-xida-msft, this seems to have done the trick, I tried what you suggested and the form seems to now reset on submit, so it still flashed up the form really quickly but now it's blank rather than containing information already submitted. Thanks for your help, this does the trick for me.
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
196 | |
175 | |
62 | |
34 | |
32 |
User | Count |
---|---|
341 | |
271 | |
110 | |
76 | |
59 |