This repository contains scripts and documentation I wrote while working as the survey developer at Ohio University Center for International Studies.
JavaScript in src/per-question/
are each embedded in a particular question of
the registration survey. Usage examples include splitting a time range into a
bunch of different slots, or distributing participants equally among distinct
groups for events.
- Create the script in
src/per-question/
- Add an entrypoint for it in
webpack.config.js
- Run
npm run build
ornpm run dev
and webpack will output the script to thedist/
directory - Copy the JavaScript in the output file to the embedded JavaScript field for your question in Qualtrics