I want to remove the success message box by JS. Actually I want to save the form data on the cancel button as well. So I use the default cancel button it does not provide an option to save data. So I use the custom button and by JS, I click the submit button. But I get a message that "Your form has been submitted successfully".
I want to hide this message by js.
Please sign in to leave a comment.