Pop up form and button shortcode

Home Forums Quform WordPress Pop up form and button shortcode

This topic is: not resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4988
    airweb7
    Participant

    Hello,

    I’m using this code


    [iphorm_popup id=1][/iphorm_popup]
    <script type="text/javascript">

    jQuery(document).ready(function ($) {
    $('a[href="#form"]').click(function () {
    $('.iphorm-fancybox-link').click();
    return false;
    });
    });
    </script>

    wich work great, except that I have 2 differents forms in the same page

    I added the second code :


    [iphorm_popup id=3][/iphorm_popup]
    <script type="text/javascript">
    jQuery(document).ready(function ($) {
    $('a[href="#form1"]').click(function () {
    $('.iphorm-fancybox-link').click();
    return false;
    });
    });
    </script>

    but the same form is triggered (the first one), do i have to clear some variable ?
    Thank you

    #4996
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy