> ## Documentation Index
> Fetch the complete documentation index at: https://help.edzo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Written Question Block

> Learn how to use Written Question blocks to collect typed responses from learners.

<img src="https://mintcdn.com/edzo/0lEFIDITrS7owT7u/images/346_1x_shots_so.png?fit=max&auto=format&n=0lEFIDITrS7owT7u&q=85&s=4b3e39526339cdc6bf81932a5d45e50e" alt="346 1x Shots So" width="1280" height="720" data-path="images/346_1x_shots_so.png" />

The **Written Question** block allows learners to type their own responses. Use it for short answers, longer explanations, or any activity where learners express understanding in their own words.

Written questions are flexible. you can configure them for single-word answers, sentences, or extended responses.

<Info>
  Written Question blocks can be automatically marked using flexible matching, exact matching, or AI-powered criteria marking.
</Info>

## When to use Written Questions

Written questions work well for:

* Short answer responses (names, dates, single words)
* Sentence-level answers requiring specific phrasing
* Open-ended explanations assessed against criteria
* Fill-in-the-blank style questions using prefix and suffix

## Settings

### Input settings

<ParamField path="Placeholder" default="Write your answer here" type="text">
  The text displayed in the input before the learner writes their response.
</ParamField>

<ParamField path="Text align" default="left" type="select">
  The alignment of the input text: **left**, **center**, or **right**.
</ParamField>

<ParamField path="Prefix" default="" type="text">
  Text displayed before the input field. Useful for sentence starters like "The answer is" or currency "\$".
</ParamField>

<ParamField path="Suffix" default="" type="text">
  Text displayed after the input field. Useful for units like "cm" or "kg".
</ParamField>

<ParamField path="Spellcheck" default="false" type="switch">
  When enabled, the browser's spellcheck feature is active in the input field.
</ParamField>

<ParamField path="Show character count" default="false" type="switch">
  When enabled, learners can see how many characters they've typed.
</ParamField>

<ParamField path="Max characters" default="50" type="slider">
  The maximum number of characters learners can type (0–5000). Lower values create short-answer inputs; higher values create larger text areas.
</ParamField>

## Answer and Marking

Written questions support three marking modes. Choose the one that best fits your question.

### Marking types

<ParamField path="Marking type" default="Flexible Match" type="select">
  How the learner's response is compared to the accepted answers.
</ParamField>

| Marking type       | Description                                                                                                                                 |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------- |
| **Flexible Match** | Handles variations in capitalisation, spacing, punctuation, accents, and number formats. Best for most short-answer questions.              |
| **Exact Match**    | The learner's response must match an accepted answer character-by-character. Use for case-sensitive or format-sensitive answers.            |
| **AI Criteria**    | Uses AI to assess the response against your marking criteria. Each criterion is worth 1 mark. Best for open-ended or explanation questions. |

<Note>
  For `Flexible Match` and `Exact Match`, add one or more accepted answers. The response is correct if it matches any of them.

  For `AI Criteria`, add the criteria the learner's response must satisfy. The AI provides feedback without revealing the criteria to the learner.
</Note>

### Accepted answers and criteria

Depending on the marking type:

* **Flexible/Exact Match**: Add one or more **accepted answers**. If the learner's response matches any answer, it is marked correct.
* **AI Criteria**: Add one or more **marking criteria**. The AI evaluates how well the response meets each criterion and awards marks accordingly.

## Response settings

<ParamField path="Response requirement" default="Correct" type="select">
  Determines when the question is considered complete:

  * **Correct**: The learner must answer correctly to proceed.
  * **Answered**: Any response is accepted; correctness isn't required.
  * **Optional**: The learner can skip the question entirely.
</ParamField>

<ParamField path="Max responses" default="0" type="slider">
  The number of attempts the learner can make before the question is locked (0–3). Set to **0** for unlimited attempts.
</ParamField>

<ParamField path="XP points" default="5" type="slider">
  The experience points awarded for answering the question correctly (0–10).
</ParamField>

## Tips for teachers and parents

**Best practices:**

* Use **Flexible Match** for most short-answer questions since it's forgiving of minor typos and formatting.
* Use **Exact Match** only when precision matters (e.g., spelling, passwords, codes, or scientific notation).
* Use **AI Criteria** for open-ended questions where there's no single correct answer.
* Add multiple accepted answers to account for valid variations (e.g., "6", "six", "6.0").
* Use **Prefix** and **Suffix** to provide context without cluttering the question stimulus.
