Question Open

Add and configure the Question Open component in a Docmino document.

When to use

Use Question Open when readers should provide a short free-form answer that can be checked against an expected response.

Props

Name⇅
Type⇅
Description⇅
id
string
A stable identifier used to reference the component.
prompt
string
The question or instruction shown to the reader.
explanation
string
Feedback shown after the question is answered.
answer
string
The expected answer used to evaluate a response.
required
boolean
Requires a response before the document can be submitted.
visibleWhen
expression
A condition that controls when the component is visible.
requiredWhen
expression
A condition that makes the component required when it matches.
disabledWhen
expression
A condition that disables the component when it matches.
triggers
expression
Actions that run after the component interaction completes.

Example

Question.Open

Open question

What is x2+2x+1x^2 + 2x + 1 when x=3x = 3?

<Question.Open prompt="What is $x^2 + 2x + 1$ when $x = 3$?" answer="16" explanation="When x = 3, the expression evaluates to 16." />