info
A content-only block. Renders text, images, or HTML — collects no answer. Use for instructions, consent screens, mid-survey explainers, section breaks.
What info is
info shows content to the respondent and collects nothing in
return. It exports no column. Use it for screens that must say
something — a welcome page, a privacy notice, a section break — but
where no answer is captured.
- qid: QIntro
type: info
title: Before we begin
text: This survey takes about 10 minutes. Click Next when you're ready to start.
For longer content with paragraphs and HTML, use text: with the
literal block scalar |. See Multi-line content
below.
Properties
| Property | Values | Notes |
|---|---|---|
qid | string | Required. Unique within the survey, even though no answer is collected. |
type | info | Required. |
title | renderable | Optional. Header above the body. |
text | renderable | The content shown to the respondent. HTML allowed. |
instruction | renderable | Optional sub-text. |
visibility | show | hide | Default show. |
layout.cols | integer | Default 1. |
custom | code block | Custom runtime block. No default. |
info does not accept any of the answer-bearing properties —
required, validation, default.errors, options, options.from,
group, group.order, scale, scale.from. The validator rejects
them.
Methods & accessors
info has no answer state, no accessors, and no methods. There is
nothing to read or write at runtime — the block is purely
presentational.
If a script needs to know whether the respondent reached a particular screen, gate on the next answer-bearing question instead.
Multi-line content
For paragraphs, lists, or richer HTML, use the YAML literal block
scalar |:
- qid: QPrivacy
type: info
title: Privacy notice
text: |
Your responses are confidential and used only in aggregate
analysis.
We do not share your individual answers with the client. By
proceeding, you confirm you've read this notice.
The body accepts the same HTML allow-list as every other renderable
text field — <b>, <i>, <br>, links, simple inline styles. See
Safe HTML.
Examples
Section break in a long survey
- qid: QSectionBreak
type: info
title: Section 2 of 3 — Your usage
text: Now we'd like to learn about how you use these products.
A short, single-line text: is perfect for orientation between
question groups.
Pipe a previous answer
- qid: QName
type: open
text: What's your first name?
- qid: QGreet
type: info
text: Welcome, {{ QName.value }} — let's get started.
info’s text supports piping like every other renderable field.
See Piping.
Conditional info
- qid: QManagerNote
type: info
title: A note for managers
text: The next questions ask about your team — please answer about your direct reports only.
if: "manager" in QRole.value.lower()
Use if: to show an info screen only when relevant. Without an
if:, it shows for every respondent.
Privacy / consent setup (consent itself is a single)
- qid: QPrivacyNotice
type: info
title: Before we start
text: |
Your responses are confidential and used only in aggregate.
Tap Next to read the consent statement.
- qid: QConsent
type: single
text: Do you agree to participate?
options:
1: Yes — proceed
2: No — exit
- script: |
if QConsent.selected.any(2):
endSurvey(status="terminate")
The info block displays the notice; the actual consent decision is
captured by a single. info alone can’t gate progression because
it stores nothing.
Export
info produces no export columns. The block is invisible to the
data file.
See also
- Safe HTML — what HTML and inline CSS are allowed in
text. - Identity & display —
text,title,instruction. - Piping — using
{{ }}in info text. - single — for actual answer collection (e.g. consent).