Qualtrics Javascript Library | Experience Community
Skip to main content
Solved

Qualtrics Javascript Library

  • Nov 24, 2023 3:13 AM UTC
  • 3 replies
  • 2772 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+34
  • Level 4 ●●●●
  • Nov 24, 2023 10:28 PM UTC

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

 


Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+48
  • Answer
  • Nov 25, 2023 5:34 AM UTC

@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 2 ●●
  • Nov 27, 2023 11:57 PM UTC

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.