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 in your functions.php file: