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.
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 18 | 1 | |
| 18 - 34 | 2 | |
| 35 - 45 | 3 | |
| 46 - 55 | 4 | |
| 56 - 65 | 5 | |
| 66 and over | 6 |
Block structure
Each block is written in up to 4 zones:
| Zone | Content | Required |
|---|---|---|
| 1 | Reference and title | Yes |
| 2 | PROG: line with the type and options | Yes |
| 3 | CONDITION: line (display condition) | No |
| 4 | Table of answers, items or fields | Depends 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.
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.
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: GROUPgoes in a separate paragraph. - Separate the options with hyphens for readability.
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
| Keyword | Also accepted | Block type |
|---|---|---|
(no type, but at least one option: PROG: SHUFFLE ANSWERS), SINGLE, MULTIPLE or PROFILE | Closed question | |
BATTERY | ITEMS | Item battery |
OPEN | OPEN QUESTION, FREE TEXT | Question with input fields |
R3M | EXPERIENCE | 3 spontaneous words question |
ADAPTIVE | AI QUESTION, FOLLOW UP QUESTION | Follow-up question |
AUTOMATIC | RECODE | Recode closed question |
INTRODUCTION | Introduction block | |
TRANSITION | Text block | |
THANKYOU | End block | |
GROUP, LOOP, GROUP - PAGE | Group 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
| Keyword | Also accepted | Applies to | Effect |
|---|---|---|---|
SINGLE | Closed question, battery | One answer (default) | |
MULTIPLE | SEVERAL ANSWERS | Closed question, battery | Several answers |
MIN x MAX y | MULTIPLE only | Minimum and maximum number of answers. Default: 1 to the number of answers | |
SHUFFLE ANSWERS | ROTATE ANSWERS, RANDOM ANSWERS | Closed question, battery | Answers in random order |
SHUFFLE ITEMS | ROTATE ITEMS, RANDOM ITEMS | Battery | Items in random order |
REVERSE SCALE | REVERSED SCALE, ÉCHELLE INVERSÉE, ECHELLE INVERSEE | Closed question, battery | Answers displayed in reverse order, see Reversed scales |
SAME ITEMS AS Ref | Closed question, battery | Reuses the answers or items of another block, see SAME ITEMS AS | |
(Q1, Q2, ...) | Adaptive | Blocks the follow-up question depends on |
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.
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:
| Column | Content |
|---|---|
| 1 | Answer text |
| 2 | Answer number: answer 5 gets the reference A5, used in conditions |
| 3 | Answer options (optional) |
| 4 | Answer 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.
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) | 1 | QUOTA 21% | CONDITION: IF Q18.A1 |
| Very few or some (codes 2+3) | 2 | QUOTA 46% | CONDITION: IF Q18.A2 OR Q18.A3 |
| About half or many (codes 4+5) | 3 | QUOTA 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 satisfied | 1 | |
| Not satisfied | 2 | |
| Rather not satisfied | 3 | |
| Rather satisfied | 4 | |
| Satisfied | 5 | |
| Very satisfied | 6 |
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
| Keyword | Also accepted | Effect |
|---|---|---|
STOP | STOP CONTACT, STOP INTER, SCREEN OUT | Screens out the respondent if this answer is selected |
MANDATORY | REQUIRED, OBLIGATOIRE | Screens out the respondent if this answer is not selected, as long as the question stays mandatory (default setting) |
EXCLUSIVE | EXCLUSIF | Only 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 FIELD | FREE TEXT, TEXT FIELD, TEXT | Lets the respondent type a free text answer. Only one per question: only the first one is kept |
FIXED | FIXE | Keeps the answer or item in place when shuffling |
TAG: name | Groups the answer or item under a named tag (one tag per answer or item) | |
REF Axx / REF Ixx / REF Fxx | Forces the reference of the answer (Axx), item (Ixx) or field (Fxx). Takes precedence over the number column |
TAG: takes everything up to the end of the cell, so write it last: FIXED - TAG: Brands.
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 sector | 98 | FIXED |
| None of these sectors | 99 | EXCLUSIVE - FIXED |
The reference is used by conditions (Q5.A98). The Triple-S export numbers answers in row order.
Example:
Q11. You are:
PROG: SINGLE
| Man | 1 | QUOTA 50% | |
| Woman | 2 | QUOTA 50% | |
| Prefer not to say | 3 | STOP CONTACT | CONDITION: 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
| Morning | Noon | Afternoon | Evening | ||||
|---|---|---|---|---|---|---|---|
| 1 | Monday | 1 | 2 | 3 | 4 | ||
| 2 | Tuesday | 1 | 2 | 3 | 4 | ||
| 3 | Wednesday | 1 | 2 | 3 | 4 | ||
| 4 | Thursday | 1 | 2 | 3 | 4 | ||
| 5 | Friday | 1 | 2 | 3 | 4 | ||
| 6 | Saturday | 1 | 2 | 3 | 4 | ||
| 7 | Sunday | 1 | 2 | 3 | 4 | FIXED | CONDITION: 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:
| Column | Content |
|---|---|
| 1 | Field name |
| 2 | Field type (empty = TEXT) |
| 3 | Field options (optional) |
| 4 | Field 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:
| Keyword | Effect |
|---|---|
HIDDEN LABEL | Hides the field name |
READ ONLY (or READONLY) | Field cannot be edited |
MANDATORY | Field is required |
MIN xx / MAX xx | Bounds of a NUMERIC field, ignored on other types |
PREFIX: text / SUFFIX: text | Text 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 Fxx | Forces 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
| Name | MANDATORY | ||
| Number | NUMERIC | MANDATORY - READ ONLY - REF F9 | CONDITION: IF Q7.A1 OR Q7.A2 OR Q7.A3 |
| Age | NUMERIC | MANDATORY - 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
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
ENDfollowed by a space and the reference. - A
CONDITION:line between the type line and the start divider applies to the whole group. PROG: GROUPis 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.
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: HOTSPOTonly 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.
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 thePROG: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
| Reference | Meaning |
|---|---|
Q1.A2 | Answer A2 of question Q1 is selected |
Q1.I3.A2 | Answer A2 is selected for item I3 of battery Q1 |
Q1.F1 | Field 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
| Keyword | Meaning |
|---|---|
AND / ET | All conditions must be true |
OR / OU | At least one condition must be true |
NOT / PAS | The 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)
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).
| Operator | Meaning |
|---|---|
VALUE_EQUAL / VALUE_NOT_EQUAL | Equal / not equal |
VALUE_GREATER / VALUE_GREATER_EQUAL | Greater than / greater than or equal |
VALUE_LESS / VALUE_LESS_EQUAL | Less than / less than or equal |
VALUE_CONTAINS / VALUE_NOT_CONTAINS | Contains / does not contain |
VALUE_STARTS_WITH / VALUE_ENDS_WITH | Starts with / ends with |
VALUE_IN / VALUE_NOT_IN | Is / is not in a comma-separated list: "75, 92, 93" |
VALUE_IN_RANGE / VALUE_NOT_IN_RANGE | Is / is not in one of the ranges: "18-25, 40-60" |
VALUE_LENGTH_EQUAL / VALUE_LENGTH_NOT_EQUAL | Text length equal / not equal |
VALUE_LENGTH_GREATER / VALUE_LENGTH_GREATER_EQUAL | Text length greater / greater or equal |
VALUE_LENGTH_LESS / VALUE_LENGTH_LESS_EQUAL | Text 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
- The import file (
.docx). It contains only the blocks, in questionnaire order: no cover page, no quota plan, no chapter titles, noIGNOREzone, no notes. - 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.
- 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 questionnaire | In the import file |
|---|---|
Reference F0, S3, Q12 | Q + 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 text | TRANSITION block QT1 (then QT2… for the following texts) |
| Closing text | THANKYOU block QFIN1 |
| Cover page, target reminder, quota plan | nothing: they are not carried over |
| Calendar or date table for the interviewer | removed from the file, dates copied into the title on the interviewer line |
Types and options
| In the source questionnaire | In the import file |
|---|---|
SINGLE, MULTIPLE | PROG: SINGLE, PROG: MULTIPLE |
SINGLE PER LINE, grid | PROG: BATTERY - SINGLE |
AUTOMATIC RECODE | PROG: AUTOMATIC |
MAXIMUM 3 ANSWERS | MIN 1 MAX 3 on the PROG: line |
Answer rotation, EXCEPT CODE x | SHUFFLE ANSWERS, and FIXED on the answer left out of the rotation as well as on "Other", "None" and "Don't know" |
| Item rotation | SHUFFLE 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 x | EXCLUSIVE - FIXED on the answer |
STOP on an answer | STOP 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 questionnaire | In 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 battery | 99 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 questionnaire | In the import file |
|---|---|
PROG: IF CODE 1 IN F3 above the title | CONDITION: 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 F5A | one 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 question | screen-out question QF1_SO: CONDITION: IF QF1.F1 VALUE_LESS 26 OR QF1.F1 VALUE_GREATER 75 |
| "STOP IF CODE x" on a grid row | one 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 answer | interviewer coding question QF4B_SO, see Added questions |
Recodes and quotas
| In the source questionnaire | In the import file |
|---|---|
| Bands computed from a source variable, with quotas | AUTOMATIC 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% MIN | no 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 questionnaire | In the import file |
|---|---|
| Verbatim answer | PROG: OPEN QUESTION, one text field with HIDDEN LABEL, without MANDATORY |
| Age or number written in full | PROG: OPEN QUESTION, one NUMERIC field with MANDATORY, visible label |
| Contact details | one 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-up | PROG: ADAPTIVE (QF9) block right after the question, reference QF9I. Only the followed-up question goes in the parentheses |
Outside the import
| In the source questionnaire | In the import file |
|---|---|
| Clickable areas on a visual (hotspot), custom mechanics | left out of the file, described in the list to set up |
| Rotation by group of answers, visuals, show cards | list 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 F3A | 1 | STOP 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, henna | 1 | STOP CONTACT |
| No, another product | 2 |
Naming references
| Reference | Use |
|---|---|
Q + source reference | source question: QF0, QF5A |
_SO | screen-out question or interviewer coding question: QF1_SO, QF4B_SO |
_SO_A, _SO_B… | one screen-out question per grid row |
REC | recode of a source variable: QF1REC |
_NET | recode created to carry a quota on a group of codes: QF8_NET |
I | adaptive follow-up: QF9I |
QT1, QT2… | welcome and transition texts |
QFIN1 | closing 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
STOPthat contradicts the target. Target "women", butSTOPon "A man" only. Also putSTOP CONTACTon 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:99in the number column, which gives referenceA99. - Routing that points to nothing.
IF CODE 1 IN F3while 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
MANDATORYthat spans several questions ("mentioned in F13A or F13B, otherwise STOP"). Write a_SOscreen-out question with the combined condition. On a single question,MANDATORYon 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
TRANSITIONor 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
MANDATORYandSTOPon 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
- Every source question is either a block of the file or an entry of the list to set up.
- Every reference starts with
Q, entirely in uppercase (letters, digits,_). It is unique and followed by a dot. - Every block has a valid
PROG:line, in uppercase: a space after the colon, the type first. - One table per block, with no merged cell.
- Number columns are increasing. Scales from + to − use
REVERSED SCALE. Codes 98 and 99 are written as is in the number column. - Every
CONDITION:cites references that exist, spelled identically. OneCONDITION:line per block. Parentheses surround any mix ofANDandOR. - No answer carries both
MANDATORYandSTOP. - The summary table and the list to set up come with the file.