Closed lrperlmu closed 4 years ago
{
template: "likert", // (should come from constants.js)
title: "asdlf", // string (should come from constants.js)
instructions: "asdfas", // instructions for the user (should come from constants.js)
questions: [ // provided in constructor
["the question", undefined], // question text, user response: a number 1-5 (defaults to undefined)
[asdklfja;slkdfj, undefined],
...,
],
}
How does the frame return user input to nav? aka: What does get_user_input() return? Returns map of user input containing keys { 'question_text': number (1-5) (undefined is NOT a valid value) }
(precondition to calling get_user_input is that all of the values are numbers, NOT undefined)
Make a new frame class!
Use labeled range sliders. as here