# Qualtrics Related Stuff from Across the Web

This repo contains material related to Qualtrics from across the website. While Qualtrics is a great tool, apart from tutorials that will help you get started, advanced stuff, especially related to JavaScript is not so easy to find at one place. Also, in my opinion, the Qualtrics tutorials website favours form over style and the presentation can be overwhelming.

Few resources here are my own[1](/#f1). But I've brought them here, as I think it will save people interested in Qualtrics some time.

The PDFs are a good starting point for someone who has never worked with Qualtrics. Even though some of them are old, the core functionality remains.

Some points to note:

* I'm not well versed with JS *(read as lookup function at stackoverflow)* and therefore some of the code may be inelegant and inefficient. Please let me know if you know have a better solution.
* All code uploaded is working on the day it was uploaded. If it doesn't work for you, please let me know, and we'll check if it's an issue in your implementation or an update from Qualtrics.&#x20;

[Examples](/examples)\
[JavaScript Functions](https://github.com/tafakkur/QualtricsHub/tree/9a75df1fa5e166e3c6dcd039d4a30ccffd49e181/functions/README.md)

**1:** Please let me know if there are copyright issues. I'll take them down and replace them with a link to them. Also, at present I haven't credited anyone, will do that as things go along. [↩](/#a1)


# File Download Links

1. [Qualtrics\_User\_Manual-University-of-Michigan-Flint](https://www.umflint.edu/sites/default/files/groups/Research_and_Sponsored_Programs/qualtricsusermanual.pdf)
2. [Qualtrics\_Tutorial-Rowan-University](https://irt.rowan.edu/_docs/training/manuals/qualtrics_handout_08_17rev.pdf)
3. [Qualtrics Resources: The University of British Columbia](https://it.ubc.ca/services/teaching-learning-tools/survey-tool/qualtrics-training)
4. [Qualtrics\_A\_Step\_by\_Step\_Guide](https://www.nursing.upenn.edu/live/files/106-qualtrics-step-by-step-manualpdf)


# Functions


# Add Header Row to Matrix


# Set Embedded Dat on Page


# log-values-as-typed


# Timer-Across-Block


# Hide-Next-Button-for-a--short-while


# Check-sum-dynamically-via-JS


# Deselect-Choices


# Remove Powered by Qualtrics


# Hide-Question-for-a--short-while


# Sort-Choices-Based-on-Value


# Sort-Choices-Based-on-Value-For-Carry-Forward-Texts


# custom-message-request-response


# Highlight-Selected-Choices


# Change-Question-Text


# Highlight-unanswered-questions-Request-Response


# Some Gif Demos

## External Website Load Error:

1. The page had three questions:
   1. Text: Shows text asking the respondents to wait for the website to load.
   2. Text: HTML iframe to create a box within which to show the website.
   3. Single Choice: Asks them what to when it fails.
2. This is the flow:
   1. Hide Q2 and Q3 on the page. Just show text asking people to wait.
   2. After a pre-defined time, hide Q1.
   3. Wait just a short while (around 500 ms) and show Q2 and Q3. This ensures that the error message replaces the text and it doesn't have to move up.
   4. Below the error (Q2), Q3 is displayed, which asks them to choose.
   5. If they choose option 1 (which ideally they shouldn't in this case). The next button shows up, and the question text is changed.
   6. If they choose option 2, the question text changes, giving them an option to re-consider.
   7. If they choose option 3, they are automatically redirected to the next page.

![](https://github.com/tafakkur/QualtricsHub/tree/9a75df1fa5e166e3c6dcd039d4a30ccffd49e181/images/external-website-error.gif)


