pull demographics from banner for CAS-authenticated users.
The code in index.html should be copied and pasted into the Qualtrics survey builder as follows:
- Edit your qualtrics survey
- go to "Look and Feel"
- Choose advanced, near "Header"
- click edit
- click the "<>source" button
- paste the entire contents of THIS project's index.html in the box.
- click the "<>source" button
- click edit
- Choose advanced, near "Header"
- go to "Look and Feel"
This code asssumes that the user is being redirected from a source that knows their position, college, and department, and has included those in the location hash as in
...#position=Student&college=College%20of%20Engineering&department=Computer%20Science