> For the complete documentation index, see [llms.txt](https://help.alldrafts.com/alldrafts-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.alldrafts.com/alldrafts-documentation/document-editor/paragraph-conditions.md).

# 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>
