Interface Selection

Selection specification

interface Selection {
    ordered: boolean;
    unlimited: boolean;
    ismulti: boolean;
    minSelections: number;
    maxSelections: number;
    minSelectionsImputed?: boolean;
    maxSelectionsImputed?: boolean;
}

Properties

ordered: boolean

Is it an ordered (i.e. ranking) or unordered selection?

unlimited: boolean

True if the {*} syntax was used

ismulti: boolean

True if the question was defined as accepting more than one response. Note that this could be true when maxSelections = 1 if the SETQMAXSEL() function has been called from the survey route.

minSelections: number

The minimum number of selections. Must be between 1 and maxSelections.

maxSelections: number

The maximum number of selections. Must be between minSelections and the number of elements in the first domain.

minSelectionsImputed?: boolean

True if the minimum number of selections was not explicitly specified in the DSC

maxSelectionsImputed?: boolean

True if the maximum number of selections was not explicitly specified in the DSC