Controlling slider in slider question by using arrow keys and submitting by pressing enter | XM Community
Skip to main content

In a question of type slider (just one statement with 9 scale points) I would like to make the slider controllable by using the left and right arrow keys. Finally, the answer should be submitted by pressing the enter or return key. While I have a clue how to do the submitting (https://stackoverflow.com/questions/39534582/qualtrics-pressing-enter-key-to-emulate-continue-button), I don't know how to accomplish controlling the slider by pressing keys.

Check the pressed key code as 37 and 39 for left and right keys respectively and accordingly update the slider value using JS.


Leave a Reply