Field types · Computed
Computed computed
Formula-driven read-only field; extend with registerFormulaFunction.
At a glance
- Schema type:
computed - Value: string (evaluated, read-only in fill)
- Use when: Totals, concatenations, derived labels.
Type properties
Options that appear only for Computed fields. Shared options (Label, Field Name, Required, …) are on Field types → Common properties.
- Formula
- Pick a field from the tree, or type references like {Section.FieldName} and {Section.TableName.ColumnName}. Use function buttons to wrap a selection with sum(), avg(), etc. Legacy {fieldId} still works.
- Display format
- Computed result stays unformatted internally. Format applies in the document, preview, and PDF.
- Currency
- ISO currency code when Display format is Currency.
- Fraction digits
- Decimal places for Number / Currency display.
- Suffix
- Text appended after the formatted result (hidden for Currency).
Details
- References use {Section.FieldName} or legacy {fieldId}.
- Built-ins: concat, age, sum, avg, min, max, count.
- Templates store only the formula string — never function implementations.
- Register custom functions in every evaluator process (editor, n8n, PDF).
Related
Other field types
TextNumberDateChoiceListTreeTablePivot tableImageLogicalSignatureBarcodeChild / repeater