I'm trying to manually set the slider max value in Qualtrics using JavaScript.
I've tried this answer but no "CS_{postTag}" element has that name on my survey question. I also tried doing a search for any element that may be related to the above answer, that is: jQuery("[maxValue]")
and jQuery(["name*='{postTag}'"])
, but neither of these returned anything helpful.
I also put a break in Qualtrics.SurveyEngine.addOnLoad(function() {}) and then explored the Qualtrics Javascript API in my watch window without any luck.
The crux of the problem is that Qualtrics doesn't use an <input type="range">
for its slide. Instead the slider seems to be a collection of div elements that Qualtrics controls through custom JavaScript events. This means most of the relevant controls are hidden somewhere in JavaScript.
Any suggestions would be greatly appreciated.
Thanks