Skip to main content

Import from Word

This guide explains how to format a Word file so its questions can be imported into your survey. Follow these rules to get an accurate import.

Introduction​

Use the import from Word feature in the question management menu to add blocks to your survey from a Word document.

Let an AI format your questionnaire

Give your questionnaire to your AI chat (ChatGPT, Claude, Le Chat…) with this prompt, it will rewrite it following the rules of this guide:

Read https://docs.r3mscore.com/docs/survey/import-word.md
and apply its instructions to the attached Word questionnaire.

Review the result before importing it: the Convert an existing questionnaire section asks the AI to produce a summary table of the transformations, designed for this review.

Here is a complete question:

Q2[Age group]. What is your age group?
PROG: SINGLE
CONDITION: IF Q1.A1
Under 181
18 - 342
35 - 453
46 - 554
56 - 655
66 and over6

Block structure​

Each block is written in up to 4 zones:

ZoneContentRequired
1Reference and titleYes
2PROG: line with the type and optionsYes
3CONDITION: line (display condition)No
4Table of answers, items or fieldsDepends on the type

A block ends where the next block reference starts.

Zone 1: reference and title​

  • Format: Reference[Name]. Title
  • The reference starts with an uppercase letter, followed by uppercase letters, digits, _ or -, and ends with a dot: Q1., Q12_BIS., S7-A2..
  • The name is optional. It goes in square brackets, right before the dot: Q1[Age]. What is your age group?
  • The title can span several lines or paragraphs. Line breaks, italics and underline are kept.
  • Writing the title in bold is a convention for readability; it is not required.
warning

A reference that contains a lowercase letter is not recognized: block QV2bis. disappears, or its title merges into the text of the previous block, with no message. A dot cuts the reference: Q1.2 Title becomes block Q1 with the title "2 Title".

Some references are renamed on import: those that start with A, I, Z, F, LOOP, VAR_, PARAM_ or LBL_. They get a Q<n>_ prefix, where n counts the renamed blocks of the file: the first F1 becomes Q1_F1, a following A5 becomes Q2_A5. Conditions that cite them stay valid, but prefer a reference starting with Q.

Interviewer instructions (ENQ : READ OUT…) go in the title, on an extra line placed before the PROG: line. A paragraph placed right before the table is lost.

Give your blocks a name

The name is a short label for the block. It is shown in the card headers of the results dashboard ("Ref: name"). A short name keeps these cards readable when the question title is long.

Zone 2: the PROG: line​

  • The line must start with PROG: followed by a space, then the type keyword first, then the options:
PROG: BATTERY - MULTIPLE - SHUFFLE ITEMS
  • The line can be placed anywhere between the title and the table, including on the same paragraph as the title (soft line break). Exception: for a group, PROG: GROUP goes in a separate paragraph.
  • Separate the options with hyphens for readability.
warning

A block without a valid PROG: line is not imported. PROG:SINGLE (no space) or PROG: SHUFFLE ANSWERS - BATTERY (type not first) are not recognized as expected. PROG: alone, with no type or option, is not recognized either.

Write the whole PROG: line in uppercase: in lowercase, some keywords are not recognized, without any message. PROG: multiple - shuffle answers is imported as a single-answer question, without shuffling.

Block types​

KeywordAlso acceptedBlock type
(no type, but at least one option: PROG: SHUFFLE ANSWERS), SINGLE, MULTIPLE or PROFILEClosed question
BATTERYITEMSItem battery
OPENOPEN QUESTION, FREE TEXTQuestion with input fields
R3MEXPERIENCE3 spontaneous words question
ADAPTIVEAI QUESTION, FOLLOW UP QUESTIONFollow-up question
AUTOMATICRECODERecode closed question
INTRODUCTIONIntroduction block
TRANSITIONText block
THANKYOUEnd block
GROUP, LOOP, GROUP - PAGEGroup of blocks, see Groups, loops and pages

Any line that does not start with one of these keywords is imported as a closed question. For example, PROG: INTRO or PROG: THANK YOU become closed questions. The only exception, PROG: HOTSPOT, creates an empty hotspot block, with no visual or areas, to complete in the interface.

Options​

KeywordAlso acceptedApplies toEffect
SINGLEClosed question, batteryOne answer (default)
MULTIPLESEVERAL ANSWERSClosed question, batterySeveral answers
MIN x MAX yMULTIPLE onlyMinimum and maximum number of answers. Default: 1 to the number of answers
SHUFFLE ANSWERSROTATE ANSWERS, RANDOM ANSWERSClosed question, batteryAnswers in random order
SHUFFLE ITEMSROTATE ITEMS, RANDOM ITEMSBatteryItems in random order
REVERSE SCALEREVERSED SCALE, ÉCHELLE INVERSÉE, ECHELLE INVERSEEClosed question, batteryAnswers displayed in reverse order, see Reversed scales
SAME ITEMS AS RefClosed question, batteryReuses the answers or items of another block, see SAME ITEMS AS
(Q1, Q2, ...)AdaptiveBlocks the follow-up question depends on
warning

Write MIN x MAX y as one piece, separated by spaces only: MIN 2 MAX 3. MIN 2 - MAX 3 is not recognized. With SAME ITEMS AS, the default maximum is not computed: write MIN x MAX y, or check the maximum in the interface after the import.

SHUFFLE ANSWERS and REVERSE SCALE do not combine: shuffling wins.

On a question where some answers have a TAG:, answers are displayed grouped by tag, untagged ones last. SHUFFLE ANSWERS then only shuffles the untagged answers, without respecting FIXED, and REVERSE SCALE is ignored.

Zone 3: display condition​

An optional CONDITION: line between the PROG: line and the table shows the block only when the condition is met:

CONDITION: IF Q6.I1.A1 OR Q6.I1.A2

See Conditions for the syntax.

Zone 4: answers, items and fields​

The table depends on the block type. See the sections below.

warning

Only the first table of the block is read. Another table placed before the answer table, such as a calendar, takes its place with no message.


Closed questions (PROFILE, AUTOMATIC)​

Answers are written in a table:

ColumnContent
1Answer text
2Answer number: answer 5 gets the reference A5, used in conditions
3Answer options (optional)
4Answer display condition (optional), see Conditions

The number column is detected automatically: it is the column whose filled cells are all whole numbers. A number column that is empty, or that contains anything other than a number (2a), is taken for the options column, and the options of the next column are lost. An answer without a number gets the number after the highest number of the table. Without any number, answers are numbered 1, 2, 3… in order. Without any table, a placeholder answer is created. Answers are displayed in row order, whatever their number.

warning

A row merged across the whole table, such as a category subheading, is read as one more answer. Move the subheading out of the table or remove it.

AUTOMATIC questions always accept exactly one answer and are not shown to the respondent. MULTIPLE, SHUFFLE ANSWERS, REVERSE SCALE and SAME ITEMS AS have no effect on them.

An AUTOMATIC question imports its answers and its assignment rule, written as a condition on each answer. This is how you put a quota on a group of codes:

Q18_NET. Share of grey hair (net)
PROG: AUTOMATIC
None (code 1)1QUOTA 21%CONDITION: IF Q18.A1
Very few or some (codes 2+3)2QUOTA 46%CONDITION: IF Q18.A2 OR Q18.A3
About half or many (codes 4+5)3QUOTA 29%CONDITION: IF Q18.A4 OR Q18.A5

Reversed scales (REVERSE SCALE)​

A scale can be shown from the positive end to the negative end: "Very satisfied 6" … "Not at all satisfied 1". Write the table with increasing codes, negative end first, and add REVERSE SCALE:

Q6. Overall, how satisfied are you with this brand?
PROG: SINGLE - REVERSE SCALE
Not at all satisfied1
Not satisfied2
Rather not satisfied3
Rather satisfied4
Satisfied5
Very satisfied6

The respondent sees "Very satisfied" first, and the answer is stored with code 6.

REVERSE SCALE also reverses FIXED answers: a "Don't know" on the last row is displayed first. To keep it at the end of the list, set it after the import in the answer settings, by displaying it after "Not at all satisfied".

Answer and item options​

KeywordAlso acceptedEffect
STOPSTOP CONTACT, STOP INTER, SCREEN OUTScreens out the respondent if this answer is selected
MANDATORYREQUIRED, OBLIGATOIREScreens out the respondent if this answer is not selected, as long as the question stays mandatory (default setting)
EXCLUSIVEEXCLUSIFOnly this answer can be selected
QUOTA xx%QUOTAS xx%, LIMIT xx%, RESTRICTION xx%Caps the number of completed respondents who chose this answer, as a % of the survey's response target (1 to 99)
FREE FIELDFREE TEXT, TEXT FIELD, TEXTLets the respondent type a free text answer. Only one per question: only the first one is kept
FIXEDFIXEKeeps the answer or item in place when shuffling
TAG: nameGroups the answer or item under a named tag (one tag per answer or item)
REF Axx / REF Ixx / REF FxxForces the reference of the answer (Axx), item (Ixx) or field (Fxx). Takes precedence over the number column
tip

TAG: takes everything up to the end of the cell, so write it last: FIXED - TAG: Brands.

warning

Options are searched in the whole cell, regardless of case, including inside a word and in the text after TAG:, PREFIX: or SUFFIX:. A tag such as TAG: Context contains "text" and also turns on FREE FIELD. Avoid option keywords in those texts.

Never put MANDATORY and STOP on the same answer: no respondent could get past the question.

Write the quota as one piece, digits right against the %: QUOTA 42%. QUOTA MIN 42% or QUOTA 42 % (with a space) set no quota, without any message. A quota is always a cap: R3mScore has no minimum quota, and QUOTA 42% MIN is imported as a 42% cap. Without a response target on the survey, the quota has no effect. On battery answers, it is not imported.

REF does not shift the other references. If another answer already has this number, or another item or field sits at this position, both get the same reference, without any message: pick a number that no other element takes.

To give an answer the reference A98 or A99, write that code in the number column, or REF A98 if the table has no number column:

Other sector98FIXED
None of these sectors99EXCLUSIVE - FIXED

The reference is used by conditions (Q5.A98). The Triple-S export numbers answers in row order.

Example:

Q11. You are:
PROG: SINGLE
Man1QUOTA 50%
Woman2QUOTA 50%
Prefer not to say3STOP CONTACTCONDITION: IF NOT Q7.A1

Item batteries (BATTERY)​

The battery is written in a single table:

  • First row: two empty cells, then one column per answer with its name. Add one empty cell for the item options column, and one more for the item conditions column.
  • Each item row: item number, item text, the answer number under each answer column, then the item options and the item condition.
  • Second-to-last row (optional): answer options, with the first two cells empty.
  • Last row (optional): answer display conditions, with the first two cells empty.

To put both options and a condition on the same item, you need both columns (the options one, even if empty). The answer options row needs the conditions row, even if it is empty: without it, the answer options are read from the last item row.

Items get the reference I<position> (I1, I2...), unless you set REF Ixx. The answer number must be the same on every row of a column: a 99 under the "Don't know" column gives it the reference A99. Item options are FIXED, TAG: and REF.

An option cannot target a single cell (item × answer): a STOP specific to one row goes through a screen-out question conditioned on the item (CONDITION: IF Q6.I1.A2).

With an item conditions column, FIXED is only kept on items that also have a condition.

Example:

Q13. When do you usually practice?
PROG: BATTERY - MULTIPLE
MorningNoonAfternoonEvening
1Monday1234
2Tuesday1234
3Wednesday1234
4Thursday1234
5Friday1234
6Saturday1234
7Sunday1234FIXEDCONDITION: IF NOT Q1.A1
REF A12 - STOP CONTACT
CONDITION: IF NOT Q7.A1

Without any table, a placeholder answer and item are created.


Reusing answers or items (SAME ITEMS AS)​

On a closed question or a battery, add SAME ITEMS AS Ref to the PROG: line to reuse the answers or items of another block of the same type. The referenced block can be placed before or after in the document.

The Zone 4 table is then ignored. Answers or items are copied with their options, tags and references, but not their conditions.

On a closed question, each copied answer is only shown if it was selected in the referenced question:

QF13A. Which brands do you know?
PROG: MULTIPLE
(usual answer table: Brand A / Brand B / Brand C)

QF13B. Which brands have you bought?
PROG: MULTIPLE - SAME ITEMS AS QF13A
(no table: only the brands selected in QF13A are shown)

Open questions (OPEN)​

The table describes the input fields of the question:

ColumnContent
1Field name
2Field type (empty = TEXT)
3Field options (optional)
4Field display condition (optional)

Field types: TEXT, NUMERIC (or NUMBER, NOMBRE), DATE, TIME (or HEURE), EMAIL (or E-MAIL), PHONE (or TEL, TELEPHONE), PASSWORD, AUTOCOMPLETE, FILE.

Field options:

KeywordEffect
HIDDEN LABELHides the field name
READ ONLY (or READONLY)Field cannot be edited
MANDATORYField is required
MIN xx / MAX xxBounds of a NUMERIC field, ignored on other types
PREFIX: text / SUFFIX: textText displayed before (PREFIX) or after (SUFFIX) a NUMERIC field. Only one of the two per field, last in the cell: everything after it becomes part of the text
REF FxxForces the field reference

Fields get the reference F<position> (F1, F2...), unless you set REF Fxx. Without any table, a single text field with a hidden label is created.

Example:

Q2. Please enter your details:
PROG: OPEN QUESTION
NameMANDATORY
NumberNUMERICMANDATORY - READ ONLY - REF F9CONDITION: IF Q7.A1 OR Q7.A2 OR Q7.A3
AgeNUMERICMANDATORY - MIN 18 - MAX 99 - SUFFIX: years

Follow-up questions (ADAPTIVE)​

List in parentheses the blocks the follow-up question depends on:

Q14. Follow-up question
PROG: ADAPTIVE (Q6, Q7, Q8, Q13)
CONDITION: IF NOT Q3.A1 AND NOT Q3.A2 AND NOT Q3.A3
warning

If one of the listed blocks cannot be found, the follow-up question is not imported. Inside a group, it is imported without these blocks.


Introduction, transition, thank you and R3M​

These blocks have no Zone 4: no answers, no items.

QFIN1. Thank you for your participation!
PROG: THANKYOU

A survey has only one introduction block and one end block. If the survey already has one, the imported block becomes a text block and its reference gets the _COPY suffix.


Groups, loops and pages​

GROUP gathers several blocks, LOOP repeats them, and GROUP - PAGE displays them on a single page. Child blocks are placed between a start and an end divider:

G1. Satisfaction
PROG: GROUP
CONDITION: IF Q1.A1
====================G1====================

C0. Product category
PROG: OPEN
(fields table)

====================END G1====================
  • The divider has at least 10 = on each side of the reference, which must be exactly the group reference.
  • The end divider uses END followed by a space and the reference.
  • A CONDITION: line between the type line and the start divider applies to the whole group.
  • PROG: GROUP is written in uppercase, in a separate paragraph below the title.
  • The last block of a group must have a table: a block without a table extends up to the next reference and takes the end divider into its text.
  • Groups can be nested.
  • Introduction and thank you blocks placed inside a group disappear. To open a group with a text, use a TRANSITION.
warning

Without its start or end divider, the group is imported as a closed question. A divider whose reference does not exactly match the group reference has the same effect, and the child blocks leave the group. A shared screen is written PROG: GROUP - PAGE: PROG: PAGE alone does not declare a group.


What the import does not carry​

These elements are set up in the interface after the import:

  • images and visuals;
  • the visual and clickable areas of hotspot questions (PROG: HOTSPOT only creates an empty block);
  • a random order shared between two questions ("same order as Qx") and rotation by group of answers;
  • displaying an answer after another one;
  • loop settings: number and content of iterations;
  • survey settings: panel redirects, languages.

R3mScore has no minimum quota: a quota is always a cap.


Ignored zones​

Content between IGNORE and END IGNORE dividers is skipped during import. Use it for internal notes:

====================IGNORE====================
Internal note
====================END IGNORE====================

Without the end divider, everything after IGNORE is skipped.

warning

Place your IGNORE zones at the top of the file. Elsewhere, the zone does not end the block before it: a CONDITION: line written in the zone applies to that block if it has no condition of its own. A block without a table (transition, thank you, follow-up, open question without a table) even shows the zone in its text.


Conditions​

Conditions show or hide a block, an answer, an item or a field, based on previous answers. They use the CONDITION: keyword followed by a logical expression. IF (or SI) is optional.

Placement​

  • Block or group: a CONDITION: line between the PROG: line and the table, or the start divider of a group. Only one line per block: the following ones are ignored.
  • Answer, item or field: a CONDITION: cell on the same row of the table. For battery answers, use the conditions row at the bottom of the table.

References​

ReferenceMeaning
Q1.A2Answer A2 of question Q1 is selected
Q1.I3.A2Answer A2 is selected for item I3 of battery Q1
Q1.F1Field F1 of open question Q1 (with a value operator)

References can point to any block of the document, before or after, or to a block already in the survey. If the document contains a block with the same reference, that block of the document is the target.

Logical operators​

KeywordMeaning
AND / ETAll conditions must be true
OR / OUAt least one condition must be true
NOT / PASThe answer must not be selected, which is also true when the question was not seen. Also works on a group: NOT (Q1.A1 OR Q1.A2)
CONDITION: IF Q1.A1
CONDITION: IF NOT Q1.A1
CONDITION: IF Q1.A1 AND Q2.A2
CONDITION: IF Q1.A1 OR Q1.A2
CONDITION: IF (Q1.A1 AND Q1.A2) OR (NOT Q2.A1 AND NOT Q2.A3)
warning

AND and OR do not mix at the same level without parentheses. Between simple terms, that part of the condition is ignored. Between groups in parentheses, everything is read as AND. Put parentheses around each level.

Between groups in parentheses, write AND / OR: ET / OU are not recognized there and the condition is lost.

A reference that cannot be found is removed from the condition, and the rest is kept: the condition becomes less restrictive. If no reference is found, the condition is ignored and the element is always shown.

Value operators (open questions)​

Format: REF OPERATOR value. The value can be in double quotes, but it must contain neither parentheses nor the words and, or, et, ou surrounded by spaces, in lowercase or uppercase, even in quotes: "bread and butter" breaks the condition, "Portland" works. The VALUE_ prefix is optional (CONTAINS is the same as VALUE_CONTAINS).

OperatorMeaning
VALUE_EQUAL / VALUE_NOT_EQUALEqual / not equal
VALUE_GREATER / VALUE_GREATER_EQUALGreater than / greater than or equal
VALUE_LESS / VALUE_LESS_EQUALLess than / less than or equal
VALUE_CONTAINS / VALUE_NOT_CONTAINSContains / does not contain
VALUE_STARTS_WITH / VALUE_ENDS_WITHStarts with / ends with
VALUE_IN / VALUE_NOT_INIs / is not in a comma-separated list: "75, 92, 93"
VALUE_IN_RANGE / VALUE_NOT_IN_RANGEIs / is not in one of the ranges: "18-25, 40-60"
VALUE_LENGTH_EQUAL / VALUE_LENGTH_NOT_EQUALText length equal / not equal
VALUE_LENGTH_GREATER / VALUE_LENGTH_GREATER_EQUALText length greater / greater or equal
VALUE_LENGTH_LESS / VALUE_LENGTH_LESS_EQUALText length less / less or equal
CONDITION: IF Q1.F1 VALUE_CONTAINS "paris"
CONDITION: IF (Q1.F1 VALUE_GREATER 18) AND (Q1.F2 VALUE_NOT_EQUAL "none")

NOT does not work on a value operator: without any message, it is ignored or drops the condition. Use the opposite operator (VALUE_NOT_CONTAINS...). VALUE_STARTS_WITH and VALUE_ENDS_WITH have none.

Convert an existing questionnaire​

A questionnaire written for fieldwork (numbers like F0, interviewer instructions, PROG: lines, quota plan) cannot be imported as is: it must be rewritten in the format of this guide. This section gives the method, whether you convert by hand or with an AI (see the prompt in the Introduction).

What the conversion produces​

  1. The import file (.docx). It contains only the blocks, in questionnaire order: no cover page, no quota plan, no chapter titles, no IGNORE zone, no notes.
  2. A summary table, alongside the file: one row per element of the source questionnaire, with what it became (reference and type), the transformation applied and any decision made.
  3. The "To set up after import" list: everything the import cannot carry, with enough detail to set it up without reopening the source questionnaire. See What the import does not carry.

Together, the import file and this list cover the whole questionnaire: no question may fall between the two.

When you hit a limit of the import, add a question rather than approximate: a screen-out question, a recode. A quota on the wrong answer or a lost screen-out costs more than one extra question.

Verbatim labels, translated instructions​

  • The labels of questions, answers, items and interviewer instructions (ENQ : …, INT: …) are copied as they are, capitals included, without rewording.
  • The source number leaves the label and becomes the reference: "F0. You are:" becomes QF0. You are:.
  • Programming instructions (source PROG: lines, routing, rotations, scales, quotas) are never copied: they are translated into the syntax of this guide, using the mappings below.

Mappings​

Texts and references​

In the source questionnaireIn the import file
Reference F0, S3, Q12Q + the source reference: QF0, QS3, Q12
Variable name highlighted next to the question (Gender)name in square brackets: QF0[Gender]. You are:. No name on other blocks
Interviewer instruction ENQ : READ OUT…extra line of the title, as is, before the PROG: line
Interviewer welcome textTRANSITION block QT1 (then QT2… for the following texts)
Closing textTHANKYOU block QFIN1
Cover page, target reminder, quota plannothing: they are not carried over
Calendar or date table for the interviewerremoved from the file, dates copied into the title on the interviewer line

Types and options​

In the source questionnaireIn the import file
SINGLE, MULTIPLEPROG: SINGLE, PROG: MULTIPLE
SINGLE PER LINE, gridPROG: BATTERY - SINGLE
AUTOMATIC RECODEPROG: AUTOMATIC
MAXIMUM 3 ANSWERSMIN 1 MAX 3 on the PROG: line
Answer rotation, EXCEPT CODE xSHUFFLE ANSWERS, and FIXED on the answer left out of the rotation as well as on "Other", "None" and "Don't know"
Item rotationSHUFFLE ITEMS
"Same random order as Fx"keep SHUFFLE ANSWERS (independent shuffle). Sharing the order goes in the list to set up
EXCLUSIVE, MULTIPLE EXCEPT CODE xEXCLUSIVE - FIXED on the answer
STOP on an answerSTOP CONTACT on the answer
Table with several code columns (one column per question)one question per column, list duplicated. Category subheadings (brand names) are removed

Codes and scales​

In the source questionnaireIn the import file
Scale shown from + to − (decreasing codes)increasing codes, negative end first, and REVERSED SCALE. A "Don't know" at the end of the scale also goes in the list to set up: to be shown after the negative end. See Reversed scales
Codes 98 and 99 ("Other", "Don't know")98 or 99 in the number column, with FIXED ("Other") or EXCLUSIVE - FIXED ("None", "Don't know")
"Don't know" coded 99 in a battery99 in every cell of the "Don't know" column, which gets the reference A99. For FIXED, an options row below the items, followed by a conditions row, even if empty

Routing and screen-outs​

In the source questionnaireIn the import file
PROG: IF CODE 1 IN F3 above the titleCONDITION: IF QF3.A1 below the PROG: line
"If code 3 in F4, ask F4B"CONDITION: IF QF4.A3 on F4B
DISPLAY ONLY ANSWERS SELECTED IN F5Aone condition per answer: CONDITION: IF QF5A.A1, IF QF5A.A2… in column 4, or PROG: MULTIPLE - SAME ITEMS AS QF5A if the lists are identical
STOP if < 26 or > 75 on a numeric open questionscreen-out question QF1_SO: CONDITION: IF QF1.F1 VALUE_LESS 26 OR QF1.F1 VALUE_GREATER 75
"STOP IF CODE x" on a grid rowone screen-out question per row: QF3_SO_A, QF3_SO_B…, CONDITION: IF QF3.I1.A2
"STOP if none of brands 1 to 3"screen-out question QF5B_SO: CONDITION: IF NOT QF5B.A1 AND NOT QF5B.A2 AND NOT QF5B.A3
"If henna → STOP" on a verbatim answerinterviewer coding question QF4B_SO, see Added questions

Recodes and quotas​

In the source questionnaireIn the import file
Bands computed from a source variable, with quotasAUTOMATIC recode QF1REC, one condition and one quota per answer
Quota on a group of codes ("codes 4+5 → 29%")AUTOMATIC recode QF8_NET carrying all the quotas of the question, source codes recalled in the labels
QUOTAS 30% MINno QUOTA: an R3mScore quota is a cap and would block above 30%. The minimum goes in the list, as a target to monitor during fieldwork

Open questions and follow-ups​

In the source questionnaireIn the import file
Verbatim answerPROG: OPEN QUESTION, one text field with HIDDEN LABEL, without MANDATORY
Age or number written in fullPROG: OPEN QUESTION, one NUMERIC field with MANDATORY, visible label
Contact detailsone field per piece of information, with the matching type (EMAIL, PHONE…), with MANDATORY if the source requires it
Input check (format, postcode in mainland France)list to set up. It is not a screen-out: no screen-out question
AI follow-up, adaptive follow-upPROG: ADAPTIVE (QF9) block right after the question, reference QF9I. Only the followed-up question goes in the parentheses

Outside the import​

In the source questionnaireIn the import file
Clickable areas on a visual (hotspot), custom mechanicsleft out of the file, described in the list to set up
Rotation by group of answers, visuals, show cardslist to set up, without a TAG: or SHUFFLE to approximate it

Added questions​

Screen-out question. It carries an exclusion rule that the source places elsewhere. Its title says what it excludes, it has a single STOP CONTACT answer, and the exclusion condition:

QF3_SO_A. Screen-out F3A – does not live in mainland France
PROG: SINGLE
CONDITION: IF QF3.I1.A2
Screen-out F3A1STOP CONTACT

NOT is also true for a respondent who did not see the question: if the target question is itself filtered, repeat its filter in the condition of the screen-out question.

Interviewer coding question. A verbatim answer does not trigger an exclusion reliably: a condition on the typed text does not cover every spelling. Add a question the interviewer codes, with the same condition as the open question:

QF4B_SO. ENQ : is the product mentioned in F4B henna?
ENQ : DO NOT READ OUT
PROG: SINGLE
CONDITION: IF QF4.A3
Yes, henna1STOP CONTACT
No, another product2

Naming references​

ReferenceUse
Q + source referencesource question: QF0, QF5A
_SOscreen-out question or interviewer coding question: QF1_SO, QF4B_SO
_SO_A, _SO_B…one screen-out question per grid row
RECrecode of a source variable: QF1REC
_NETrecode created to carry a quota on a group of codes: QF8_NET
Iadaptive follow-up: QF9I
QT1, QT2…welcome and transition texts
QFIN1closing text

By convention, number variants with letters (QF3_SO_A).

Inconsistencies in the source questionnaire​

Questionnaires contain mistakes. Do not carry them over: keep the most likely intent, report it in the "Decision" column of the summary table and apply it. Common cases:

  • A STOP that contradicts the target. Target "women", but STOP on "A man" only. Also put STOP CONTACT on the other off-target answers ("Other", "Prefer not to say").
  • A code that is not in the list. MULTIPLE EXCEPT CODE 99, while "None" has code 9. Make "None" exclusive and give it the code cited by the instruction: 99 in the number column, which gives reference A99.
  • Routing that points to nothing. IF CODE 1 IN F3 while F3 is a grid: write no condition.
  • An instruction and its parenthesis disagree. "CODE 1 OR 2 (at least one L'Oréal Paris brand)", while the list has three L'Oréal Paris brands. Follow the parenthesis: codes 1, 2 and 3.
  • A MANDATORY that spans several questions ("mentioned in F13A or F13B, otherwise STOP"). Write a _SO screen-out question with the combined condition. On a single question, MANDATORY on the answer is enough: as long as the question stays mandatory (default setting), it screens out the respondent who does not select it.

Mistakes to avoid​

  • Disguising a question. A question the import cannot carry does not become a TRANSITION or a question of another type: it goes in the list to set up.
  • Leaving two tables in a block. The first table after the title becomes the answer list: a calendar left there replaces the real answers.
  • Leaving a merged cell in an answer table. A merged subheading is read as one more answer.
  • Putting MANDATORY and STOP on the same answer. Nobody gets past the question.
  • Writing anything other than blocks in the import file. Notes go in the summary table or in the list to set up.

Checks before importing​

  1. Every source question is either a block of the file or an entry of the list to set up.
  2. Every reference starts with Q, entirely in uppercase (letters, digits, _). It is unique and followed by a dot.
  3. Every block has a valid PROG: line, in uppercase: a space after the colon, the type first.
  4. One table per block, with no merged cell.
  5. Number columns are increasing. Scales from + to − use REVERSED SCALE. Codes 98 and 99 are written as is in the number column.
  6. Every CONDITION: cites references that exist, spelled identically. One CONDITION: line per block. Parentheses surround any mix of AND and OR.
  7. No answer carries both MANDATORY and STOP.
  8. The summary table and the list to set up come with the file.