Qualtrics Javascript Library | XM Community
Skip to main content
Solved

Qualtrics Javascript Library

  • November 24, 2023
  • 3 replies
  • 1766 views

Forum|alt.badge.img+2

Does anyone know how to access the reference to the javascript library for Qualtrics? For example, this.setChoiceValue shows there must be other functions tied to Qualtrics.SurveyEngine.addOnload. 

I’m sure there are easier ways to code if only I know what functions are made available or even if there is somewhere, where one learns javascript for Qualtrics. Searching the forums for the exact code that I need can be a lengthy process and even then, I feel some of the code is more complex than I need it to be. Thanks in advance.

Best answer by Deepak

@LawrenceT 

In JavaScript Section if you scroll down you will see a hyperlink JS Question API click on it.

 

View original

3 replies

Radam
Level 4 ●●●●
Forum|alt.badge.img+33
  • Level 4 ●●●●
  • 171 replies
  • November 24, 2023

Is this what you are looking for: https://api.qualtrics.com/

 


Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+44
  • 1553 replies
  • Answer
  • November 25, 2023

@LawrenceT 

In JavaScript Section if you scroll down you will see a hyperlink JS Question API click on it.

 


Forum|alt.badge.img+2
  • Author
  • Level 1 ●
  • 11 replies
  • November 27, 2023

Thanks everyone for your help. Both were really best answers. I now have the library of functions, unfortunately, there really isn’t any examples of how to use some of them. For example, GetChoices I have done a google search on this and can’t find any examples of this. I’ve tried using it but doesn’t function as I want it to as in read in a previous multiple response question.

So, the next step is to find a resource that gives examples of how to use it. Some have been but not all.


Leave a Reply