Viewing 2 replies - 31 through 32 (of 32 total)
  • Im assuming you want to close the modal after x seconds.

    So.

    function modal_form_success()
    {
    setTimeout(function(){
    jQuery(‘.modal.active’).emodal(‘close’);
    }, x);
    }

    and then in your forms callbacks
    on_sent_ok: modal_form_success()

    There are a couple of commands you can use with the emodal() function
    close,open and center to name a few. For open though best to use the modals id eModal-# as a selector instead of .modal.active.

    It is works! amazingly! thank you!

    Plugin Author Daniel Iser

    (@danieliser)

    Great. Please take a moment to rate and review the plugin and or support https://www.ads-software.com/support/view/plugin-reviews/easy-modal

Viewing 2 replies - 31 through 32 (of 32 total)
  • The topic ‘Modal closes on CF7 Form "Submit"’ is closed to new replies.