I am trying to submit a form, after all the required fields are filled and once that is submitted a message pop up will display confirming the submission. Code is as below, unfortunately once I submit the item, the pop up is displayed for a millisecond and then it takes me back to the Main Page.
I don't want to be taken to any page, just show the pop up for a longer time, give the user enough time to read the message on the pop up and then they can select a button on the pop up that takes them to the main page.
If(EditForm1.Valid, Set(SuccessPop,1); SubmitForm(EditForm1),
Notify("Please enter the Required Fields",NotificationType.Error))
Is there anything I am doing wrong?
