Replies: 1 comment 1 reply
-
Hi! I've been able to do this by creating a label variable with the text for each response on the likert scale like so: And then I refer to that variable within the likert scale code as the "labels" like this:
Hope that helps! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I currently have a Likert scale with 7 radio buttons and numbers (0-6). But I'd like to add some texts such as "Not at All", "Somewhat", "Very much" on top of the scale bar. How can I do this?
Here's what I have now:
var scale=["N/A", "0", "1", "2", "3", "4", "5", "6"]
var question_trial = {
type: 'survey-likert',
questions: function() {
var prompts = [
{
prompt: jsPsych.timelineVariable("question", true),
name: jsPsych.timelineVariable("word", true),
labels: scale,
required: true
},
];
return prompts;
},
randomize_question_order: true,
};
Beta Was this translation helpful? Give feedback.
All reactions