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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,793)