# The Affective Slider on Qualtrics

This folder has the necessary code to implement the Affective Slider in Qualtrics.

You should end up with this: ![](instruction_images/AS_Qualtrics.png)

## Setup

- Create a new slider element: ![](instruction_images/make_slider.png)
- Set to 1 choice and 0 grid marks: ![](instruction_images/choices_grid.png)
- Position the slider at 50: ![](instruction_images/set_slider.png)
- Hide the value and force a response: ![](instruction_images/hideVal_forceResp.png)
- Add JS: ![](instruction_images/add_js.png)
- Copy in JS from [arousal.js](arousal.js) and save: ![](instruction_images/copy_js.png)
- Copy the question: ![](instruction_images/copyQ.png)
- Open JS for second question: ![](instruction_images/second_js.png)
- Copy in JS from [pleasure.js](pleasure.js) and save: ![](instruction_images/copyjs2.png)
- Randomize the block of questions: 
  - ![](instruction_images/randomize.png)
  - ![](instruction_images/randomize2.png)
