FormAnnexLast updated on
Last updated on
Attachment slot definitions for forms
FormAnnex defines a placeholder for supplementary documents to be attached at runtime. Annexes can be required or optional, and their visibility can be controlled by logic expressions.
Properties
Annexes are defined as a Record<string, FormAnnex> where the key is the annex identifier.
title?: string
Title for the annex slot
description?: string
Description of what document should be attached
required?: boolean | string
Whether required. Can be boolean or expression
visible?: boolean | string
Whether visible. Can be boolean or expression
order?: number
Display order for rendering
Examples
annexes:
government-id:
title: Government-Issued ID
description: Copy of passport, driver's license, or state ID
required: true
order: 1
proof-of-income:
title: Proof of Income
description: Recent pay stubs (last 2 months)
required: "isEmployed"
visible: "isEmployed"
order: 2Related
- Form - Form artifact overview
- Logic - Conditional expressions
- Attachment - Runtime attachment data