Hello Power Platform Community,
I hope you can help please.
I have a canvas app that uses SharePoint as the data source.
On screen 1 I have a gallery of a SharePoint list called Sites.
I click a + icon that navigates to screen 2 with a blank form on it where a user can input data, essentially creating a new Site record in the SharePoint list.
This issue I'm having is, potentially the user gets halfway through completing the form and then, for some reason, decides to click the X cancel icon to start over again. This X icon resets the form. I'm using the ResetForm() expression.
What I've noticed is, this doesn't reset the form to all blank values, but actually re-populates the form with the first Site record in the SharePoint list.
Does anyone know how I can stop this happening please? I think it must be something to do with the form's "DefaultMode" which is set to "FormMode.Edit".
Thanks very much,
Garry
Solved! Go to Solution.
Replace the formula with;
NewForm (YourFormName)
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Hi Please, change the form mode to new.
--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Replace the formula with;
NewForm (YourFormName)
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Please the issue Resolved
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
User | Count |
---|---|
192 | |
126 | |
88 | |
48 | |
42 |
User | Count |
---|---|
278 | |
162 | |
136 | |
81 | |
78 |