Any idea why it's happening ?", "answerCount": 4, "upvoteCount": 0, "datePublished": "2025-02-20T21:22:18.000Z", "author": { "@type": "Person", "name": "Wally Pinkard", "url": "https://trailblazers.salesforce.com/profileView?u=0053000000AzONGAA3", "affiliation": { "@type": "Organization", "name": "World Trade Center Institute" } }, "suggestedAnswer": [ { "@type": "Answer", "text": "I am using it as a default value field.", "upvoteCount": 0, "url": "https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX000000TyZP0A0", "datePublished": "2025-02-25T12:43:00.000Z", "author": { "@type": "Person", "name": "Wally Pinkard", "url": "https://trailblazers.salesforce.com/profileView?u=0053000000AzONGAA3", "affiliation": { "@type": "Organization", "name": "World Trade Center Institute" } } } ] } }
Skip to main content

I have a formula field that outputs a a js code for my website. I am using the html values for the quotes so it doesn't mess with the formula itself which generally works fine. The formula is as follows: 

I am having a problem with formulas adding extra quotes, Why is this happening?

 

The problem is that the output includes a second " at the end of the script url. If I remove the html code for the quote, it displays no quote, so its either 2 quotes or zero, neither of which works: 

 

<script src="https://www.cognitoforms.com/f/seamless.js"" data-key="mwEbRdNaJka44LUyoX8j-g" data-form="24"></script> 

 

Any idea why it's happening ?

 

#Formulas

 

@Formulas - Help, Tips and Tricks

4 answers
0/9000