Fill in the Blank
Create questions where learners type an answer or select from a dropdown. Fill in the Blank items support text and numeric answers with flexible validation, including multiple accepted answers and numeric tolerance.
Behavior
- Text or dropdown input – Choose between a free-text input or a dropdown menu for answers
- Text and numeric answers – Accept typed text or numeric values with different validation rules
- Multiple accepted answers – Define additional correct answers beyond the primary one
- Flexible validation – Control case sensitivity, whitespace trimming, and numeric tolerance
- Immediate feedback – Show correct/incorrect feedback when the answer is checked
- Check answer workflow – Optionally show a “Check Answer” button for practice scenarios
- Try again – Learners can reset and try again after an incorrect answer
- Display styles – Five visual styles: Card, Inline, Underline, Minimal, and Filled
- Variable tracking – Tracks the current answer, correctness, and score in variables
Inputs
Input Mode (Text Input / Dropdown)
- Choose whether learners type their answer or select from a dropdown
- Text Input: A text or number field where learners type freely
- Dropdown: A select menu with predefined options
Display Style (Card / Inline / Underline / Minimal / Filled)
- Controls the visual appearance of the input area
- Default: Card
Input Size (Small / Medium / Large / Full Width)
- Controls the width of the input field
- Small: single word, Medium: short phrase, Large: longer phrase, Full Width: spans the container
- Default: Medium
Placeholder Text (text)
- Hint text shown inside the input before the learner types
- Default: “Type your answer…”
Correct Answer (text)
- The primary correct answer for the question
Text Input Options
These options appear when Input Mode is set to Text Input.
Answer Type (Text / Numeric)
- Choose whether the answer is evaluated as text or a number
- Default: Text
Additional Accepted Answers (array)
- Extra answers that are also counted as correct
- Useful for synonyms, alternate spellings, or equivalent phrasings
Case Sensitive (Yes / No)
- Whether the answer comparison is case sensitive
- Default: No
Trim Whitespace (Yes / No)
- Whether to ignore leading and trailing whitespace when comparing answers
- Default: Yes
Numeric Options
These options appear when Answer Type is set to Numeric.
Allow Decimal (Yes / No)
- Whether to allow decimal numbers
- Default: Yes
Numeric Tolerance (number)
- How far the learner’s answer can be from the correct answer and still be accepted
- Example: Correct answer is 3.14, tolerance is 0.01, so 3.13–3.15 are all accepted
- Default: 0
Minimum Value / Maximum Value (number)
- Constrains the accepted range for the numeric input
- Default: 0 – 1,000,000
Text Length Options
These options appear when Answer Type is Text.
Minimum Length / Maximum Length (number)
- Constrains the character length of the learner’s answer
- Default: 0 – 500
Dropdown Options
These options appear when Input Mode is set to Dropdown.
Dropdown Options (array)
- The list of choices shown in the dropdown menu
- Each option has an ID and a display label
- The Correct Answer field should match one of these option labels or IDs
- Default: 3 sample options
Feedback & Scoring
Show Check Answer Button (Yes / No)
- Whether to display a “Check Answer” button
- If “Yes”, learners click the button to check their answer and can try again
- If “No”, answers are evaluated automatically (useful with Logic Quiz widget)
- Default: Yes
Check Button Text (text)
- Custom text for the check answer button
- Default: “Check Answer”
Correct Feedback (text)
- Message shown when the answer is correct
- Default: “Correct!”
Incorrect Feedback (text)
- Message shown when the answer is incorrect
- Default: “That’s not quite right. Try again.”
Max Score (number)
- Points awarded for a correct answer
- Default: 1
Use cases
- Vocabulary recall – Ask learners to type a definition or term from memory
- Math problems – Use numeric mode with tolerance for calculations (e.g., accept 3.14 ± 0.01)
- Spelling practice – Enable case sensitivity and disable whitespace trimming for exact answers
- Dropdown quizzes – Use dropdown mode when you want to limit answers to specific options
- Fill-in-the-sentence – Use the inline display style to embed the input within a sentence in the question prompt
- Short answer questions – Accept multiple valid phrasings with additional accepted answers