-
samphaimobileAsked on March 7, 2018 at 7: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?
https://form.jotform.me/41202416911442
Page URL: https://form.jotform.me/41202416911442 -
onurc JotForm DeveloperReplied on March 7, 2018 at 8:15 AM
Hi,
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"," Free","Free "],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,
If you have any question or comment, please let us know.
Kind regards!