Skip to main content
Nintex Community Menu Bar
Question

Field renderer causing Apostrophe to turn into '

  • July 10, 2024
  • 2 replies
  • 19 views

Forum|alt.badge.img+13

Hi,

Prob a very basic question, but I use the snippet below to highlight text field in a table and for some reason it causes the Apostrophe to turn into “'”

From what i found on another post, I have to use the unescaped value, but not really sure how to do that 😦

In case anyone can help, Here’s snippet:

var field = arguments[0],

    value = arguments[1];



skuid.ui.fieldRenderers[field.metadata.displaytype]field.mode;


field.element.css({‘background-color’:‘red’,‘min-height’:‘30px’});


Thank you

This topic has been closed for replies.

2 replies

Forum|alt.badge.img+3

You’ll need to use the skuid utils decodeHTML method to convert the encoded HTML back to readable text. The text is HTML encoded when it gets passed to skuid.

value = skuid.utils.decodeHTML(arguments[1]); 

Forum|alt.badge.img+13
  • Author
  • Scholar
  • July 10, 2024

Thank you very much, that worked perfectly!