Incorporating script into qualtrics (loop and merge) | XM Community
Skip to main content
Question

Incorporating script into qualtrics (loop and merge)


Hi, I am trying to incorporate a custom build code to my qualtrics survey (https://docs.mathjax.org/en/latest/start.html) so that I can type display math elements nicely. I put it in the header of look and feel as well head of html in the questions. It works for the first loop of loop and merge but it doesn't work for the rest. The code also works if I refresh the page when I am taking the survey. Any suggestions would be appreciated. Thank you very much.

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • July 21, 2019
Please post your code.

  • Author
  • 1 reply
  • July 21, 2019
Thank you, Tom. Here is what my survey looks like: http://mylmu.co1.qualtrics.com/jfe/form/SV_d753kppZQeXGLoF In terms of the code: I put < script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-MML-AM_CHTML' async></script> into the header section look and feel. And I also put the same in my question: < html><head> < script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-MML-AM_CHTML' async></script> < /head> ${lm://Field/1} < /html> This is all I have. Thank you.

Leave a Reply