- This topic has 6 replies, 2 voices, and was last updated 8 years, 8 months ago by
Ben.
-
AuthorPosts
-
November 14, 2014 at 12:16 pm #634
Poppy
GuestHi Erwin,
We’re making a simple picture rating task where I’m planning to show a picture for 2000 ms and then have 3 sliders appear on the next screen for some ratings of said picture. At the moment, on the slider screen, the question text, slider outline and labels for the 3 sliders appears, but not the sliders themselves. I’m using:
onShowFn: function() {
$$(“#”+ this.questionId + ” .ChoiceStructure”)[0].style.display = ‘block’;
},
});This brings me to my next point on whether/how to set an allowable response for these 3 slider questions (as the mouse not the keyboard will be used) and also how to terminate the trial? Should I just unhide the next button on the last slider or should I try and set the end action to “TERMINATE”?
Any advice appreciated!
Thanks
Poppy-
This topic was modified 8 years, 10 months ago by
Erwin Haasnoot.
-
This topic was modified 8 years, 10 months ago by
Erwin Haasnoot.
November 14, 2014 at 12:28 pm #635Erwin Haasnoot
KeymasterHi Poppy,
I think I know what the cause of the sliders not showing up is. I’ve encountered this problem before, while working on something unrelated to the QRTEngine. It’s a Qualtrics bug, which they haven’t fixed yet, but one that can be worked around. Let me see if I can find my previous solution to the problem.
As for your other problem, I’ll need to write a small FAQ on that, as I’m pretty sure it’s going to be a common problem. The fix would be to add your own button (in the HTML) and then, upon clicking, call the function QRTE.proceed() to proceed to the next stimulus.
In fact, I’ll write a FAQ entry for both, hang on!
November 14, 2014 at 3:59 pm #641Erwin Haasnoot
KeymasterHi again Poppy,
I’m sad to say that currently no work-around in possible for your slider question issue. I will fix the problem when I release v17, and will try to do that as soon as possible. I’ll make sure to issue another bug report to Qualtrics about the issue, as it’s not just Slider questions that are affected, but also Heatmaps and hot spot questions.
As for your other issue, I have added an entry to the FAQ to explain a work-around for it. It involves adding your own NextButton and then making it call QRTE.proceed. Please take a look here (down at the bottom):
As I said, this is an issue that will be encountered by many more people, so I’ll add something to v17 so that you can easily add your own button. Perhaps make it another ‘EndAction’ option.
Best,
Erwin
November 18, 2014 at 7:47 am #648Poppy
GuestThanks Erwin. I guess we’ll have to think about maybe using another response method such as radio buttons etc. not ideal for ratings task though! Thanks
November 18, 2014 at 10:50 am #649Erwin Haasnoot
KeymasterHi Poppy,
If you really require sliders as a response method, you can also implement your own slider using this tutorial, just add the HTML to your question html source:
http://webtutsdepot.com/2010/04/24/html-5-slider-input-tutorial/Just make sure you also set the trial data ‘onchange’, so like this:
<input type="range" min="0" max="50" value="0" step="5" onchange="showValue(this.value); QRTE.setTrialData('SliderValue',this.value)" />
(The code is a bit messed up due to this forum, so make sure you change the double quotes into the proper quotes expected by JS)
-
This reply was modified 8 years, 10 months ago by
Erwin Haasnoot.
-
This reply was modified 8 years, 10 months ago by
Erwin Haasnoot.
November 20, 2014 at 7:52 am #660Poppy
GuestOk thanks will have a look.
btw I also came up with a quick and dirty workaround for advancing the trial which was to have the page with the 3 radio buttons on it and for the last one set the allowable response to be e.g. ‘n’ and set the TERMINATE command as usual. Then after the pp has filled in the radiobutton questions they just push ‘n’ to advance to the next trial. Seems to be logging the radio button answers fine!January 22, 2015 at 1:31 pm #1112Ben
GuestHi, I too ran into the same problem. My issue is that I have three pages with nine slider questions working along the same scale. Is there a way through HTML to set them up to look like it does in the qualtrics, or will I need to program nine separate questions, each with separate texts and scales?
-
This topic was modified 8 years, 10 months ago by
-
AuthorPosts
- The forum ‘Support’ is closed to new topics and replies.