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

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

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Top Solution Authors
Top Kudoed Authors
Users online (2,230)