Looking for good sources of documentation | XM Community
Skip to main content
Question

Looking for good sources of documentation

  • September 10, 2023
  • 4 replies
  • 37 views

Forum|alt.badge.img+1

I’m pretty new, and one thing I’m struggling with is finding good sources of syntax documentation.

For example, the getQuestionInfo () functions seems like it could be useful at times. I think I saw something like getQuestionInfo.ID as one of the properties. It would sure be nice to see a complete list of all the properties. The Qualtrics JavaScript Question API guide doesn’t seem to have such a list. Where is a struggling programmer to go? This is a general question that is broader than just getQuestionInfo().

Thanks

 

4 replies

Forum|alt.badge.img+31
  • Level 6 ●●●●●●
  • 240 replies
  • September 11, 2023

@LarryKap the Qualtrics API guides; where I believe you have been looking is the best source I am aware of.  I have programmers I use to do the coding typically on my behalf, so may not be the best source of guidance here - however do find quite a lot of info on this site and use it to provide the details of different functions we are looking to use.  


Forum|alt.badge.img+1

XM Community and Qualtrics API guide will help you a lot 


Forum|alt.badge.img+14
  • Level 5 ●●●●●
  • 276 replies
  • September 14, 2023

I found this PDF online that lists some common javascript/HTML codes that you may want to use when building surveys: https://psrc.princeton.edu/sites/g/files/toruqf1971/files/html_tips_tricks.pdf


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5868 replies
  • September 14, 2023

@LarryKap - If you want to see the properties of getQuestionInfo() do this:

console.log(this.getQuestionInfo());

then explore it using the Inspect → Console feature of your browser.

If you like to learn by example, there are a  bunch of Qualtrics code snippets here.


Leave a Reply