web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Submit form, reset som...
Power Apps
Unanswered

Submit form, reset some items and start again

(0) ShareShare
ReportReport
Posted on by

Hi,

 

With my form, I try to make it easy to place a order at our company restaurant. After the person has filled the form, the basic information (name, email, etc.) should remain, but the input fields for the products should be cleared


This is my code at OnSelect but its not working properly. I know that NewForm will reset the form completely.
When I don't use this code I need to select DefaultMode Edit and then New. Otherwise i get the text there is no item to display. Submitting is to Sharepoint. What should I do?

SubmitForm(OrderForm) &

Reset(Coffee) & Reset(Juice) & Reset(Milk) &

Reset(Fruit) & Reset(Cake) &

Reset(SharedLunch) &Reset(BasicLunch) & Reset(ComfortLunch) &Reset(ALaCarte)

&Reset(Hour) &Reset(Minutes) &

NewForm(OrderForm)

& Navigate(tempScreen)
 Standard DefaultMode: 
FormMode.New
 
After a short message at tempScreen the customer sees a button to go back to the form.


Thx for helping and have a great weekend.

Categories:
I have the same question (0)
  • Ramanachiappan Profile Picture
    179 Moderator on at

    @GerbenH 

    Typically, the procedure involves resetting a new form using "ResetForm(OrderForm)" followed by creating a new form with "NewForm(OrderForm)." For editing a form, it usually entails resetting the form with "ResetForm(OrderForm)" and then initiating the editing process with "EditForm(OrderForm)."

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard