I have a Canvas app that I am using the same screen for Edit and New. Is there a way to make the form presented to the user stay in New Mode after they click the Save button and the form submits? I tried the code below and the message shows correctly depending on whether the form was in Edit Mode or New Mode, but the Reset Form doesn't do anything.
SubmitForm(Form1);If(Form1.Mode = FormMode.Edit, Notify("Successfully Updated", Success), Notify("Successfully Added", Success);ResetForm(Form1))
I created a variable on visible to capture the original mode (varOriginalMode) but I can't seem to stop the transition to Edit mode. I have a button that would allow the form to reset but how do I force the Mode to New?
I searched the forum and I don't see this question although it seems like someone would have asked this before. If a user wants to enter multiple new entries, they would have to go back to the main form to click the New button rather than stay on the form and create consecutive new entries.