Question Match

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

When to use

Use Question Match when readers need to pair related items, such as terms and definitions.

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.
left
expression
The values displayed on the left side of a matching question.
right
expression
The values displayed on the right side of a matching question.
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.Match

Match columns

Match the countries with their capitals

<Question.Match prompt="Match the countries with their capitals" left={["Japan", "Brazil", "Canada"]} right={["Tokyo", "Brasília", "Ottawa"]} explanation="Japan - Tokyo, Brazil - Brasília, Canada - Ottawa" />