• Hi,

    This plugin calls the jQuery function to add font awesome icons every time a gravity form is loaded. It causes to add multiple icons if you have more than one gravity form on the same page.

    I think you could solve it removing the class ‘gfct_add’ after adding the fa-icon class. I did not want to change the plugin. Instead, i’ve created a script to remove the duplicated icons. Hope it can help.

    jQuery(window).load(function(){
    var $j = jQuery.noConflict();
    $j(“.gfct_add”).each(function () {
    var forms = $j(“form[id^=gform_]”).length;
    for(i = 0; i < forms – 1 ; i++) $j(this).children(“.ginput_container”).children(“span”).first().remove();
    });
    });

  • The topic ‘FA Icons repeat by the number of gravity forms on the page’ is closed to new replies.