Javascript doesn't work in a reference survey | XM Community
Skip to main content
Question

Javascript doesn't work in a reference survey

  • January 22, 2024
  • 1 reply
  • 38 views

Forum|alt.badge.img

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

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • January 22, 2024

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