cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dave8
Impactful Individual
Impactful Individual

Unable to load the Edit form again in new mode!

Hello,

 

I have the form on the screen which is by default in "New" mode. After I submit the Edit form, I set  following formula on "Submit" button:

 

EditForm.Mode.New;

 

However, It still doesn't display again - can you please share how can I make it again in "New" Mode after the form is submitted?

 

Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions
dave8
Impactful Individual
Impactful Individual

Hello,

 

Thanks for your time, ResetForm(); did resolve the issue!

 

Thank you!

View solution in original post

3 REPLIES 3
Krishna98
Helper V
Helper V

try giving the value FormMode.New in Default mode of the form and onclick of button after SubmitForm(Form) put ResetForm(Form);

timl
Super User III
Super User III

Hi @dave8 

You could also try calling NewForm in the OnSuccess property of your form. That should also do the trick.

https://docs.microsoft.com/en-gb/powerapps/maker/canvas-apps/functions/function-form

NewForm(YourForm)

 

dave8
Impactful Individual
Impactful Individual

Hello,

 

Thanks for your time, ResetForm(); did resolve the issue!

 

Thank you!

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (78,474)