Can not add title/header above product

  • Profile Image
    Asked on March 07, 2018 at 07:29 AM

    Hi, i had my old form with a title above each product in red. Now that jotforms changed, the titles now require a price which i can not add since i have some variable pricing in my products...

    How can i add a Title / Header just above all my products?

    Please see my current form... it say FREE behind each RED title which i dont want..

    Any advice?

  • Profile Image
    Answered on March 07, 2018 at 08:15 AM


    You can remove/hide this "FREE" headings with a short block of Javascript code.

    for(var spanElements=document.getElementsByTagName("span"),index=0;index<spanElements.length;index++)for(var patterns=["Free","&nbsp;Free","Free&nbsp;"],indexPattern=0;indexPattern<spanElements.length;indexPattern++)spanElements[index].innerHTML===patterns[indexPattern]&&(spanElements[index].style.display="none");

    This code must be added to your site where your form currently embeded. You can copy and paste this code right after your embed code in your site.

    Your form is going to be displayed as following,

    1520428391Screen Shot 2018-03-07 at 16.1

    If you have any question or comment, please let us know.

    Kind regards!