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

Incorporating script into qualtrics (loop and merge)

  • Jul 20, 2019 5:26 AM UTC
  • 2 replies
  • 52 views

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 ●●●●●●●●
  • Jul 21, 2019 12:24 AM UTC
Please post your code.

  • Author
  • Jul 21, 2019 1:36 AM UTC
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.