Scroll to the Top of Popup On Form Submit

In some situations, you may need to scroll back to the top of your popup when a form is submitted. In this case, we can use the code below to get our desired results.

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:

Still need help? Contact Us Contact Us