• I have a gravity form built with one required field. It is set to ajax. When I click the submit button, the form shows the error saying that the field was empty and the popup closes. How can I make it so the popup only closes after an actual conversion?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter digi57

    (@digi57)

    I also tried to close it with the gravity forms event trigger. In the previous version of the plugin, I used:

    const $popup_id = 1312, $conversion = true;
    SPU.hide($popup_id, $conversion);

    It doesn’t seem to work as I get an error for “SPU is not defined”

    Alternately, I tried:
    WPPopups.hidePopup($($popup_id), $conversion);

    And that also was undefined.

    Plugin Author Damian

    (@timersys)

    Hi @digi57 ,
    yes there is a bug introduced recently when we fixed gravity forms redirections and conversion. We are working on a fix.

    Regarding the event, the right event is:

    Change 123 for your popup ID and pass true or false for conversion
    window.wppopups.hidePopup(‘123’, false);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gravity Form closing popup without conversion’ is closed to new replies.