Choice Modeling - Diagnostic - Experimental Design - Preview Choice Questionnaire extension

From Q
Jump to navigation Jump to search

Preview questions from a Choice Model Design output as they would appear in a questionnaire.

Example

Output Example:


Input Example:
A Choice Modeling - Experimental Design


Options

Choice experimental design output A Choice Model Design output to preview.

Design version number to preview The version number in the design to show the questions for.

includeWeb("QScript R Output Functions");
includeWeb("QScript Selection Functions");

const menu_location = "Choice Modeling > Preview Choice Questionnaire";
errorIfExtensionsUnavailableInQVersion(menu_location);

let user_selections = getAllUserSelections();
let selected_item = user_selections.selected_r_outputs[0];

let selected_group = selected_item.group;
let output = selected_group.appendStandardR("Choice Modeling - Preview Choice Questionnaire", { "formCMD": selected_item.guid});

See also