Is there way I can add emojis to the scale of my NPS question? | XM Community
Skip to main content

Is there way I can add emojis to the scale of my NPS question. I don't want to change the question format to multiple choice as the survey is an existing one and with numerous responses. I am able to achieve this for all the other languages through the translations, but unable to do the same for the base language EN-US.
Thanks in advance!

AVjyn
Yes, you can do it via custom coding>Javascript.
E.g. preview
image.pngHope it helps!


Thanks Deepak. Can you please share the code so that I can try at my end. I need the numbers as well as the emojis to be shown as below.
image.pngThanks!


AVjyn
You need to include the img src link in front of src and change the n0-n10 to the exact numbers as needed in code below and change the bold 0 from 0-10 and repeat it 11 times on load.
jQuery('#'+this.questionId).find('label.SingleAnswer')[0].innerHTML='

>
\\n0
\\n'
Hope it helps!


Thank you!


Hello AVjyn
 

I am interested in your sample code. Could it be possible you kindy send it again ? Because I can not see the file now,  maybe it is broken.

Thank you very much in advance.

Sincerely,

Koro


Leave a Reply