cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Prodigy
Post Prodigy

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,

3 REPLIES 3
Highlighted
Helper III
Helper III

Re: Unable to load the Edit form again in new mode!

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

Highlighted
Super User III
Super User III

Re: Unable to load the Edit form again in new mode!

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)

 

Highlighted
Post Prodigy
Post Prodigy

Re: Unable to load the Edit form again in new mode!

Hello,

 

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

 

Thank you!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,702)