1nathanliang / pretty-qualtrics

JS + CSS customization for Qualtrics surveys

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pretty Qualtrics 💅🏻🫦

Currently, Qualtrics offers a suite of layouts with predefined styles and JS-triggered behaviors that support particular UI designs. However, as an opinionated researcher always looking to optimize surveys for behavioral research, I have taken the liberty to customize my survey designs to fit my needs.

Layouts

Qualtrics offers four layout options:

  • Simple (Recommended)
  • Flat
  • Modern
  • Classic

Of these, the Simple layout is recommended primarily for accessibility reasons while the other three are offered as sort of legacy alternatives. While I strongly prefer the Simple layout for both accessibility and aesthetic reasons, I have previously encountered some issues when working with custom JS. Here, I have reverse-engineered the front-end through custom CSS and JS to reproduce the visual and experiential elements of this design using the Flat layout.

I will also be actively adding cosmetic modifications to the Simple design as a continuation of this project.

Instructions

To ✨prettify✨ your Flat Qualtrics survey, you'll simply need to import my custom CSS and JS into your survey HTML header. Navigate to Look and Feel > General > Header > edit, then press Source button in the rich text editor to edit the content of the header in raw HTML. Then, you can paste the following two lines:

<script src="https://cdn.jsdelivr.net/gh/1nathanliang/pretty-qualtrics/scripts/flat-script.min.js"></script>
<link href="https://cdn.jsdelivr.net/gh/1nathanliang/pretty-qualtrics/public/flat-style.min.css" rel="stylesheet" />

...and that's it! Please note that you should specify a package version number including @x.y.z in the links above corresponding to major.minor.patch in the releases. For example, to specify the current version, use @0.0.2:

<script src="https://cdn.jsdelivr.net/gh/1nathanliang/pretty-qualtrics@0.0.2/scripts/flat-script.min.js"></script>
<link href="https://cdn.jsdelivr.net/gh/1nathanliang/pretty-qualtrics@0.0.2/public/flat-style.min.css" rel="stylesheet" />

About

JS + CSS customization for Qualtrics surveys

License:GNU General Public License v3.0


Languages

Language:CSS 53.3%Language:JavaScript 46.7%