Home › Forums › Quform WordPress › Pop up form and button shortcode
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
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.