nfc
nfc
xxxxxxxxxx
define(['questAPI'], function(Quest){
var API = new Quest();
// ### Questions
API.addQuestionsSet('basicSelect',
{
type: 'selectOne',
autoSubmit:true,
numericValues:true,
required:true,
errorMsg: {
required: "Please select an answer, or click 'decline to answer'"
},
answers : ['Strongly disagree', 'Moderately disagree', 'Slightly disagree', 'Neutral', 'Slightly agree', 'Moderately agree', 'Strongly agree'],
help: '<%= pagesMeta.number < 3 %>',
helpText: 'Selecting an answer once colors it blue.<br/>You can change your answer by selecting another option.<br/>To confirm, click the selected (blue) button a second time.'
});
//Define the question texts.
API.addQuestionsSet('nfc',
[
{
inherit : 'basicSelect',
name : 'nfc_c1',
stem : "I do not usually consult many different opinions before forming my own view."
},
{
inherit : 'basicSelect',
name : 'nfc_c2',
stem : "I feel irritated when one person disagrees with what everyone else in a group believes."
},
{
inherit : 'basicSelect',
name : 'nfc_d1',
stem : "When I have made a decision, I feel relieved."
},
{
inherit : 'basicSelect',
name : 'nfc_a1',
stem : "I feel uncomfortable when I don’t understand the reason why an event occurred in my life."
},
{
inherit : 'basicSelect',
Last modified March 11, 2021: setup hugo (11980dc)