Forum Replies Created

Viewing 16 post (of 16 total)
  • Author
    Posts
  • in reply to: How to link the form to a button on webpage #3438
    Ripla
    Participant

    Hi,

    I can get the above to work no problem, however I have 3 different forms and I just cant seem to get it to work properly

    I can get all 3 buttons to look how they should with their own text in them but the all load the same form.

    I change the ID and the name to that of the form I want to load but it just loads whichever is in the the first button.

    [button link="#form" color="#b00" size="3" style="3" dark="0" square="1" radius="5" ]Get-a-Quote[/button][iphorm_popup id=2][/iphorm_popup]

    jQuery(document).ready(function ($) {
    $(‘a[href=”#form”]’).click(function () {
    $(‘.iphorm-fancybox-link’).click();
    return false;
    });
    });

    [button link="#form" color="#b00" size="3" style="3" dark="0" square="1" radius="5" ]General Enquiry[/button][iphorm_popup id=1][/iphorm_popup]

    jQuery(document).ready(function ($) {
    $(‘a[href=”#form”]’).click(function () {
    $(‘.iphorm-fancybox-link’).click();
    return false;
    });
    });

    [button link="#form" color="#b00" size="3" style="3" dark="0" square="1" radius="5" ]Request Callback[/button][iphorm_popup id=3][/iphorm_popup]

    jQuery(document).ready(function ($) {
    $(‘a[href=”#form”]’).click(function () {
    $(‘.iphorm-fancybox-link’).click();
    return false;
    });
    });

    Any help would be great.

Viewing 16 post (of 16 total)
Be inspired. © 2025 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy