Reference

Glossary

Every term used in the manual, defined. Anchors on this page are stable — link to them from anywhere.

A

accessor

A property on a runtime object that reads its state. Q.value, Q.selected, Q.answered, Q.matched are all accessors. See Question proxies.

anchor

A property on an option, scale item, or row (anchor: True) that pins it in place — the item is exempt from order: random reordering. Typical use: “None of these” stays at the bottom even when other options shuffle.

answered

Accessor returning True when the respondent has provided an answer for the question. Available on every type. Often the safest gate when you’re not sure which finer accessor to use.

B

badge

The small uppercase label above a page title in this manual. Mirrors the sidebar group the page lives in.

block

A flow container that groups other questions, blocks, or loops without producing an answer of its own. Used to apply a shared if, randomise within a sub-section, or organise the file. See Pages & blocks.

C

CBC

Choice-Based Conjoint. A question type where respondents pick one concept from a set across multiple tasks. See CBC.

cell

A single number in a gridNumber — a row × column intersection. Access via QGrid.row(N).col(M).

code

The numeric identifier for an option, row, or scale item. Codes are how every domain item is referred to internally and in the export. They are always integers (1, 2, 3), never strings.

collection

The runtime object returned by .selected and similar accessors. A set-like structure with methods .any(), .every(), .intersect(), .union(), .minus(), .size, etc. See Collections.

cascading

A lookup style where a sequence of dropdowns filter each other (Make → Model → Trim). See lookup.

D

design asset

An uploaded file (typically a CSV or XLSX) referenced by a CBC or MaxDiff question. Defines attributes, levels, versions, and tasks. See Design assets.

domain

The set of options, rows, or scale items a question can show. Authored in YAML, optionally masked at runtime. The visible domain at any moment is the authored domain minus what options.from / scale.from filter out.

E

endSurvey

Built-in Python function used in scripts to terminate the survey for the current respondent.

endSurvey("terminate")
redirectUrl("https://example.com/thanks")

exclusive

A property on an option, scale item, or row (exclusive: True) that clears all other selections in the same question when this item is chosen. Typical use: “None of these” on a multi.

export projection

The transformation from a respondent’s stored answer to the rows and columns in the export. See Column naming and Tri-state projection.

F

flow block

A top-level structural element in the YAML — a page, block, loop, if chain, script, or note. Distinct from a question, which produces an answer.

G

gridNumber

A 2D numeric grid — rows × columns of number inputs, one number per cell. Distinct from numberList (rows of numbers, no columns) and gridSingle (rows × scale, one selection per row). See gridNumber.

group

A way to subdivide an option list under labelled sections that respect shuffle and per-group ordering. Authored under group: instead of options:. See Groups.

H

hidden question

A question whose answer is computed in a script rather than provided by the respondent. Conventionally prefixed h (hRegion, hStatus) and marked readonly: True. The platform stores and exports it like any other question.

I

if / elif / else

Top-level YAML blocks that conditionally show or hide their children. Distinct from Python if inside a script: block. See Routing.

info

A question type that displays content but collects no answer. Useful for instructions, consent forms, mid-survey explainers. See info.

isolate

A property on a gridNumber row (isolate: True) that excludes the row from totals and from the export — useful for header / annotation rows that aren’t real data.

L

list

A reusable definition of an option set, group, or scale, declared in a top-level - lists: block and referenced by name. See Defining lists.

loop

A flow container that re-renders its body once per code in a source collection. Loop variables expose the current iteration. See Loops.

M

masking

Filtering the visible domain of a question at runtime, via options.from or scale.from. Masked items don’t render but still exist in the model — they export as null, not 0.

matched

lookup-only accessor. True if the respondent’s input matched a record in the lookup source. null while the lookup hasn’t resolved.

MaxDiff

Maximum-Difference Scaling. A question type where respondents pick the “best” and “worst” item per task across multiple tasks. See MaxDiff.

mixGrid

A grid type with heterogeneous columns — each column is an independent question type sharing the same row domain. See mixGrid.

N

note

A - note: | block. A free-form comment in the YAML, ignored by the runtime. Use # for one-liners, - note: for longer explanations.

O

options.from

A masking expression that filters a question’s option list at runtime. Takes a collection (typically a previous .selected) and shows only those codes. See Conditional & dynamic.

order

A property controlling option / row / scale ordering. Values: fixed (default), random, randomEach (re-shuffles every iteration of a loop). Applied at question-, group-, or scale-level.

P

page

A flow container that breaks the survey into screens. Respondents see one page at a time. See Pages & blocks.

piping

Substituting a runtime value into rendered text using {{ }} syntax, e.g. text: Tell us more about {{ QBrand.selectedLabel }}. See Piping.

proxy

A runtime object that represents a question’s state. Q1 is a proxy. Proxies have type-dependent accessors; see Question proxies.

Q

qid

The question identifier the survey programmer writes in the YAML.

Validity rule: alphanumeric and underscore only; must start with a letter; must not collide with the export naming rule’s reserved suffix patterns. The parser’s regex: ^[A-Za-z][A-Za-z0-9_]*$.

Examples: Q1, QBrand, QSatisfaction, BrandLoop, hRegion.

qualified / unqualified

Informal terms for “respondents who passed the screener” and “those who didn’t”. Surveys typically endSurvey() the unqualified.

R

rank

A question type where respondents put coded items in chosen order. .selected returns the codes in rank order. See rank.

readonly

A question property (readonly: True) that hides the question from respondents while still storing and exporting its computed value. Standard pattern for hidden helper questions.

required

A question property (required: True / False). When True, respondents cannot proceed until the question is answered. Default varies by type.

row

A single addressable line in a grid or list type. Accessed via QGrid.row(N). Has its own accessors that mirror the parent question’s type. See Row & cell access.

S

scale

The columns of a gridSingle / gridMulti. A reusable scale can be defined under - lists: and referenced by name.

script

A - script: | block: free-form Python that runs at the script’s position in the flow. Used for hidden-question computation, conditional termination, complex routing.

selected

Accessor returning a collection of selected codes for single / multi / rank questions.

selectedLabel

Scalar label of the selected code on a single. For multi/rank, use selectedLabels (plural, returns a collection of labels).

specify

A property on an option (specify: True) that attaches a free-text input. The respondent picks the option and types something into the attached field. The text is exported in a separate column, <qid>oNSpecify.

T

tri-state

The export format for coded options: 1 = shown and selected, 0 = shown and not selected, null = not shown. See Tri-state projection.

test-assist

A toggle in the editor’s preview that simulates respondent answers. Useful for exercising routing without manually clicking. See Test-assist mode.

V

validation

A validation: | block on a question — Python that runs after the respondent answers. Calls fail("message") to reject the answer with an error. See Scripts & validation.

value

The scalar accessor on a question proxy. For number: the number; open: the text; single: the code as a string. None when unanswered.

version source

For CBC / MaxDiff: an expression resolving to the design version assigned to the respondent. Enables A/B testing of designs. See CBC.