AllDrafts Documentation
  • Getting Started
  • Getting Started - Cloud Editor
  • AI Drafting Assistant
  • Auto-Numbering
  • Defined Terms
  • Document Editor
    • File Menu
      • Document Details
      • Document Settings
    • Edit Menu
    • Paragraph Conditions
    • Smart Diagrams
  • Entities
  • Facts
  • Folders
    • Special Folders (Built-in)
    • Recommended Folder Structure
    • Inherited Folder Properties
  • Fields
    • Field Types
    • Field Settings
    • Calculated Fields
    • Formula Functions
      • ARTICLEFOR Function
      • USHOLIDAYS Function
  • Letterhead
  • Organization
  • Person
  • Pronouns
  • Templates
  • Document Types
Powered by GitBook
On this page
  1. Document Editor

Paragraph Conditions

Hide or show paragraphs based on field values or calculated formulas.

PreviousEdit MenuNextSmart Diagrams

Last updated 9 months ago

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 for more information on writing condition formulas.

An example of a field 'Pets' that is being set to 'allowed', causing the sub-paragraphs a, b, c, etc. to be shown.
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'.