cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AnnaBrodnicki
Level: Powered On

Submit form and another record flashes up

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Submit form and another record flashes up

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:Test1.gif

 

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

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
4 REPLIES 4
ck25415
Level 8

Re: Submit form and another record flashes up

After submitting the form the data source refreshes and redirects to the first record(that is the record you see). Do you have any expression between submit form and navigate screen function?
AnnaBrodnicki
Level: Powered On

Re: Submit form and another record flashes up

Thank you.  No I don't think I do have an expression between submit and navigate, could this solve the issue?

Community Support Team
Community Support Team

Re: Submit form and another record flashes up

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:Test1.gif

 

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

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
AnnaBrodnicki
Level: Powered On

Re: Submit form and another record flashes up

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.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 214 members 4,286 guests
Please welcome our newest community members: