Coding language access behind GUI | XM Community
Question

Coding language access behind GUI

  • 4 February 2021
  • 4 replies
  • 1 view

Userlevel 2

I have a situation where I need to include a large number of display logic entries for a large number of response options. A simplified example:
Do you want to come on:
Monday
Time 1
Time 2
Time 3 ...
Tuesday
Time 1
Time 2
Time 3 ...
Where each time slot for every day has a quota.
1) Is there a simple way to check if every quota has been filled for a given day other than a long list of "and/or" statements in the display logic for each day?
2) If not, is there a way to enter the codes for all those "if" statements other than the GUI interface for entering Display Logic? In other words, is there another way to see the underlying code that's behind the GUI interface so I can enter all the "if" statements faster than a large number of mouse clicks?


4 replies

Userlevel 7
Badge +21

You could use the JS editor for multiple conditions. Alternatively, you could export the survey, add the display logics into a QSF and then import the new version,

Userlevel 2

I am familiar with Java, but I haven't done such a task before. How do I get into the JS editor?

Userlevel 7
Badge +21

https://www.qualtrics.com/support/survey-platform/survey-module/question-options/add-javascript/

Userlevel 2

Thanks for the link. I'll check it out.

Leave a Reply