Forum Discussion
ChayceDuncan2
6 years agoQrew Cadet
Sounds like you need to use the SearchAndReplace function to replace the usage of apostrophes with a character the HTML will allow. Something along the lines of
//This will replace ' with nothing
var text apost = SearchAndReplace([Text field you want hovered],"'","");
$apost
//This will replace ' with \" meaning the HTML will interpret the " literally.
var text apost = SearchAndReplace([Text field you want hovered],"'","\"");
$apost
Also not sure if you copied this formula or if this is only partially copied - but your tags at the end look a little out of order from a quick glance. You open the <a> but then close out with a </div> before you officially close out with a </a>.
Chayce Duncan | Director of Strategic Solutions
(720) 739-1406 | chayceduncan@quandarycg.com
Quandary Knowledge Base
//This will replace ' with nothing
var text apost = SearchAndReplace([Text field you want hovered],"'","");
$apost
//This will replace ' with \" meaning the HTML will interpret the " literally.
var text apost = SearchAndReplace([Text field you want hovered],"'","\"");
$apost
Also not sure if you copied this formula or if this is only partially copied - but your tags at the end look a little out of order from a quick glance. You open the <a> but then close out with a </div> before you officially close out with a </a>.
Chayce Duncan | Director of Strategic Solutions
(720) 739-1406 | chayceduncan@quandarycg.com
Quandary Knowledge Base
- PatrickDunn6 years agoQrew Assistant CaptainThank you