Javascript doesn't work in a reference survey | XM Community
Question

Javascript doesn't work in a reference survey

  • 22 January 2024
  • 1 reply
  • 19 views

Badge

I have a constant sum question side by side with radio buttons, enabled by Javascript.  It appears to work fine within a survey project (addressed directly), but when I put the survey in my library and use it as a reference survey, the script doesn’t appear to work:  the sum is not printed in the total box, and, whatever I put in the question (even if it totals 100%), it asks me to sum my answers to 100%.

Is there a problem with using Javascript in a reference survey? 


1 reply

Userlevel 7
Badge +27

JavaScript works in a reference survey. The issue is probably related to how the JS is written. For example, hardcoded QIDs would be incorrect.

Leave a Reply