Add New and Cancel buttons
Edit works. Now creation. Add a + New ticket button on the Browse screen that runs NewForm() and navigates to the Detail screen, arriving on a blank form.
Then add a Cancel button next to the form that uses ResetForm() to discard in-progress edits and navigate back without saving.
Note: ResetForm belongs on the cancel flow, not inside OnSuccess, since the form is on its way off-screen anyway after a successful save.
This exercise is part of the course
Introduction to Power Apps
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise