# Paragraph Conditions

You can control whether an entire paragraph (and all indented sub-paragraphs following it) is shown or hidden by setting a paragraph condition that must evaluate to TRUE for the paragraph to be shown.

If the condition is TRUE or can not yet be calculated (because the required fields are not yet set, for example) the paragraph will be shown with an icon in its left margin. You can click this icon to edit the condition formula.

You can set a paragraph condition by right-clicking and choosing **Paragraph conditions** from the menu, or by using the Paragraph Conditions button on the editor toolbar.

Hidden paragraphs are **not included in downloads to Word or PDF**.

You can use **View > Show hidden paragraphs** to show hidden paragraphs (in gray) when their conditions would cause them to be hidden; this does not add them to the document content and they will still not be included in an export or download or signature copy, but only visually for your inspection.

See [Calculated Fields](/alldrafts-documentation/fields/calculated-fields.md) for more information on writing condition formulas.

<figure><img src="/files/TZMURgdyZ8SqYHZWwMGC" alt=""><figcaption><p>An example of a field 'Pets' that is being set to 'allowed', causing the sub-paragraphs a, b, c, etc. to be shown.</p></figcaption></figure>

<figure><img src="/files/7Izcyx8S2Tup8mAT9gNF" alt=""><figcaption><p>An example of the formula used as the Paragraph Conditions for 9(a), causing it to be shown only when the value of the Pets field is 'allowed'.</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.alldrafts.com/alldrafts-documentation/document-editor/paragraph-conditions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
