1. Copy the following code somewhere between the headtags
2. Save the external JavaScript-file in the same directory of your survey pages
3. Copy the following code after
in your questionnaire4. Make sure that the input fields with the paradata are saved within your survey system. Especially long strings of paradata can cause troubles. If you need to change the names of the input fields, remember to change the pointers as well.
The UCSP-Script collection is licensed under a Creative Commons Attribution 2.0 Germany License by Wolfgang Neubarth and Lars Kaczmirek.
This means you are free to copy, distribute, display, and perform the work and to make
derivative works under the condition that you refer to our original work. Any of these conditions can be waived
if you get permission from one of the authors.
The code is distributed in the hope that it will be useful. It comes without any warranty, even
without the implied warranty of merchantability or fitness for a particular purpose.
You should test the functionality on a variety of different browsers before using it.
Remember to inform your pariticpants about what paradata you are going to collect and
get informed consent. If you make improvements to the script beyond changing variable names,
please send us a copy to help us improve further versions.
Furthermore, we appreciate any copy of derivative works and suggestions. Send an e-mail to