Piping statements selected in Matrix Table to Javascript | XM Community
Skip to main content
Hi All,



I have to pipe the statements from matrix type question to Java script if only particular scale has been selected. I have used the following code and it is working fine except in one scenario. In one statement there is a single quotation mark(') and whenever that particular statement selected below code is not working.



var statements = '${q://QID25/ChoiceGroup/SelectedChoicesForAnswer/2}';



I assumed there is an issue with single quotation in the above code and replaced the single quotation mark with double quotation as below and now this script is not working.



var statements = "${q://QID25/ChoiceGroup/SelectedChoicesForAnswer/2}";



Can anyone help me to resolve this issue?
Be the first to reply!

Leave a Reply