Hi @Usernametwice23 ,
Could you please explain your scenario a bit more? Would you like to reset the form then enter and save the form as a new record or just edit the record that just submitted into Dataverse?
If you would like to reset the form and save the form as a new record, then:
Reset button - OnSelect - NewForm(Myform)
Form - OnReset - false
If you would like to edit the record that just submitted into Dataverse, then:
Reset button - OnSelect - EditForm(Myform)
Form - OnReset - false
If you would like to edit the record that just submitted into Dataverse but need to leave all the fields blank in the form, then:
Save button - Onselect - SubmitFrom(Myform)
Reset button - Onselect - EditForm(Myform)
Form - OnReset - false
Form - OnSuccess - Notify("success ...",NotificationType.Success);Set(varSubmit, true)
Gallery controls - OnSelect - Select(Parent);Set(varSubmit, false);EditForm(Myform)
All Form fields - DataCardValues - Default/DefaultSelectedItems - If(varSubmit, Parent.Default, Blank())
The point is:
1\ When EditForm the form would have values in the fields coming from the Item property of the Form
2\ When ResetForm you will only reset the form to the default mode, values would still be included in the fields if it is in Edit mode.
3\ NewForm would make all the fields blank but when submitting the form you will create a new record
4\ If you would like to make all the fields blank when in Edit mode, you will need to manually set Blank() in all the fields as the process above.
Hope this helps.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.