The default form behaviour for Pinegrow WP is to replace the form with a success or error message after submission. I do not want to have that behaviour. After the user submits the form, I want the form to reset to a blank form again, and have the success message “appended” to the form, like this:
Your input was received. Submit another form below:
This is the specific page I am having trouble with (https://github.com/bettersg/mediaspin/blob/master/articlemodal.php) - the form disappears because the way the if tags are wrapped around the form. How do I change that without breaking the pinegrow form submission logic entirely?