Hiding a Question

From Q
Jump to navigation Jump to search

This hides a question from the drop-downs in the Outputs Tab.

var questions = project.dataFiles[0].questions;
var question = questions[selectOne('Which question to hide?', questions.map(function(q) {return q.name;}))];
question.isHidden = true;

See also