Skip to main content
Nintex Community Menu Bar
Question

Javascript Snippet Field Renderer Renders Quotes Incorrectly


Forum|alt.badge.img+4

When using a snippet to render a field with Skuid’s Javascript UI Field Renderer e.x. 

skuid.ui.fieldRenderers.TEXT.edit( arguments[0], arguments[1] );

it displays quotes as " (its HTML representation) and not as " (in the actual HTML its ")

Translate
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+4

Any updates on this? We use the Javascript renderer quite a bit and any field with an apostrophe or quote is rendered incorrectly.

Thanks in advance!

Translate

Forum|alt.badge.img+9

Try using the

skuid.utils.decodeHTML()

function.

From this link : http://help.skuid.com/m/11720/l/129517-skuid-utils

Translate

Forum|alt.badge.img+3

The value passed in to the custom renderer is already HTML encoded, the console will throw you off as it decodes the HTML-encoded characters. As Moshe suggested above decode the HTML before calling the render function on it.

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings