Title: Popup Maker trigger on Gravity Forms submit button
Last modified: September 5, 2024

---

# Popup Maker trigger on Gravity Forms submit button

 *  Resolved [aarondub84](https://wordpress.org/support/users/aarondub84/)
 * (@aarondub84)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/popup-maker-trigger-on-gravity-forms-submit-button/)
 * I have a gravity form in a popup. I am attempting to close the current popup 
   and open a second one as soon as the submit button is clicked. For some reason
   when I add the trigger to the submit button, the popups work appropriately, but
   the form doesn’t submit. Basically like pum-trigger is overriding the form submit
   functionality. Is there a way to make this work? I know that there is an option
   for close on form submission, but my form requires file uploads and takes a very
   long time to submit. So, I want it to submit in the background and immediately
   show a popup explaining that their form is currently being submitted rather than
   waiting until after it is submitted. You can see the form by clicking the + icon
   at the provided link.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpopup-maker-trigger-on-gravity-forms-submit-button%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Kim L](https://wordpress.org/support/users/kimmyx/)
 * (@kimmyx)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/popup-maker-trigger-on-gravity-forms-submit-button/#post-18007781)
 * Hi [@aarondub84](https://wordpress.org/support/users/aarondub84/),
 * Could you try the **Close Popup** option in your Gravity Form instead?
 * You can find it in **Forms** > _hover over your form_ > **Settings** > **Popup
   Maker**. This option should close your popup while submitting in the background.
 * Let us know how it goes. 🙏
 *  Thread Starter [aarondub84](https://wordpress.org/support/users/aarondub84/)
 * (@aarondub84)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/popup-maker-trigger-on-gravity-forms-submit-button/#post-18008151)
 * Unfortunately this did not work. It still waits to fully submit the form before
   closing the popup rather than immediately closing the form while the form submits
   off-screen. Do you believe this something that requires a custom piece of code
   to validate then close the popup then start submission?
 *  Thread Starter [aarondub84](https://wordpress.org/support/users/aarondub84/)
 * (@aarondub84)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/popup-maker-trigger-on-gravity-forms-submit-button/#post-18013927)
 * I ended up finding a solution by using this tutorial:
 * [https://docs.gravityforms.com/adding-an-inline-submit-button-in-gravity-forms-2-5/#h-steps](https://docs.gravityforms.com/adding-an-inline-submit-button-in-gravity-forms-2-5/#h-steps)
 * By adding the close class to this button code, it was able to close the popup
   and still submit the form simultaneously.
 *  Plugin Support [Kim L](https://wordpress.org/support/users/kimmyx/)
 * (@kimmyx)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/popup-maker-trigger-on-gravity-forms-submit-button/#post-18018784)
 * Hi [@aarondub84](https://wordpress.org/support/users/aarondub84/),
 * Thanks for the update! We’re glad you were able to find a solution. 🙏
 * Feel free to create a new thread if you have new questions.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Popup Maker trigger on Gravity Forms submit button’ is closed to new 
replies.

 * ![](https://ps.w.org/popup-maker/assets/icon-256x256.gif?rev=3097653)
 * [Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder](https://wordpress.org/plugins/popup-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-maker/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Kim L](https://wordpress.org/support/users/kimmyx/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/popup-maker-trigger-on-gravity-forms-submit-button/#post-18018784)
 * Status: resolved