• Resolved ruindpzzle

    (@ruindpzzle)


    The tab seems to refresh is display visibility status once the close-slider button is clicked. Ideally I’d like to know the call function made when that happens so I can use the form state (wpcf7submit – we’re using contact form 7) to determine whether to hide the tab or not.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WPExperts.io

    (@wpexpertsio)

    Hi @ruindpzzle,

    Kindly note that contact form 7 related questions are not related to our plugin because the function you are asking for is contact form 7 submission our plugin just displays the cf7 form through the shortcode. However, we are providing you with the action hook i.e:
    function action_wpcf7_mail_sent( $contact_form ) {
    //hide the WP Contact Slider Tab
    };
    // add the action
    add_action( ‘wpcf7_mail_sent’, ‘action_wpcf7_mail_sent’, 10, 1 );

    Or through jQuery or JS follow this url:
    https://contactform7.com/redirecting-to-another-url-after-submissions/

    Hope you would understand this and let us know if you have any other questions regarding our plugin.

    [ Signature deleted ]

    • This reply was modified 5 years, 2 months ago by Jan Dembowski.
    Thread Starter ruindpzzle

    (@ruindpzzle)

    Hi @wpexpertsio,
    Thank you so much for the reply, and explanation. I understand the cf7 shortcode, etc. I was looking for the function that is used when closing the slider action when clicking the [x].

    Plugin Author WPExperts.io

    (@wpexpertsio)

    Hi @ruindpzzle,

    Kindly note that our plugin doesn’t have any php function to close the tab, however you can use jQuery to hide it the functions used to close the slider and open the slider are
    wpcs_close_slider_your slider id(),wpcs_open_slider_your slider id()

    Hope this will help you out and let you achieve your task.

    [ Signature deleted ]

    • This reply was modified 5 years, 2 months ago by WPExperts.io.
    • This reply was modified 5 years, 2 months ago by Jan Dembowski.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘hide tab on successful submission’ is closed to new replies.