[Hustle Pro] Close on submit

I have a ninja form inside a hustle popup. The popup should remain on the post until user fill and submit the form. Means user cannot access content without filling up the form. Is this possible? And close the form only on the submit?

  • Kris Tomczyk
    • Ex Staff

    Hi Susan

    I hope you are doing good today.

    This should be possible by default with Hustle settings + small line of CSS to hide X close.
    I exported your pop up and ninja form to test this in my lab.

    Below you will find the steps to make this work.

    Edit your popup and:

    1. in Appearance tab activate “Custom CSS”. Add this CSS:
    .hustle-button-close{display:none;} so we could hide X close icon.

    2. in Visibility tab set up this pop up to show on a correct page which should be visible only when user will submit a form (there is a separate ticket for you with this issue to fix CPT page)

    3. in Behavior tab in “Closing Behavior” set up Behavior as “Do not show this message on this post/page” + set up some time like days or months, so the same user will not see pop up when he visit this page again.

    4. in Behavior tab in “Additional Settings” set up “External form conversion behavior” as “Close the pop-up” + delay 0sec. Thanks to that when the user will fill the form, pop up will be close and he will be able to see the content.

    5. in Behavior tab in “Additional Closing Methods” the “Close pop-up when clicked outside” should be disabled.

    I hope this helps.
    Kind Regards,
    Kris