Re-Open a Popup On Form Submission

When a form doesn't support AJAX Submission, this code is needed to re-open the form. You'll most likely want this so users can see form submit "success" messages. Otherwise, the user might not know if their submission got processed correctly, or if there was an error with their submission.

The $_POST key and value in the code below will vary based on your form and will need to be replaced.

Also, make sure you replace the "123" with your proper popup ID # found on the All Popup Screen.

Paste and edit the following code either into your parent or child theme  functions.php file, or use the 'My Custom Functions' plugin

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.