Skip to main content

Field Validation Reference

This is the complete validation option reference for all Report Forge blueprint field types. For the conceptual guide and configuration steps, see Data Validation Rules.


Validation option table

Field typeRequiredMin valueMax valueMin lengthMax lengthPattern (regex)Min dateMax dateMin selectionsMax selectionsBehaviour
TextWarn / Block
TextareaWarn / Block
Rich text✓ (chars)✓ (chars)Warn / Block
NumberWarn / Block
CurrencyWarn / Block
Percent✓ (decimal)✓ (decimal)Warn / Block
DateWarn / Block
DatetimeWarn / Block
SelectBlock only
Multi-selectWarn / Block
Toggle
RAGBlock only
Rating✓ (int)✓ (int)Block only
Image✓ (min files)✓ (max files)Block only
File✓ (min files)✓ (max files)Block only
URLURL format (built-in)Block only
EmailRFC 5322 (built-in)Block only
Computed
Lookup

Legend:

  • ✓ = Validation option is available for this field type
  • — = Not applicable or not available

Numeric field validation details

Number, Currency, Percent

PropertyTypeNotes
Min valueNumber (stored type)For Percent: use decimal (0.0–1.0). For Currency: value in base currency units.
Max valueNumber (stored type)Same as min value notes.
BehaviourWarn or BlockBlock prevents section completion. Warn allows submission with a warning count.
Validation messageTextShown to contributor when validation fails. Max 200 characters.

Percent field note: Percent fields store values as decimals. A min of 0 and max of 1 enforces 0%–100%. A value of 0.75 is displayed as 75%.


Text field validation details

Text, Textarea

PropertyTypeNotes
RequiredBooleanEmpty string fails required validation. Whitespace-only string also fails.
Min lengthIntegerMinimum number of characters (after trimming whitespace).
Max lengthIntegerMaximum number of characters. Also configurable on the field as a display property.
PatternRegex stringECMAScript regex. Applied to the full field value.
BehaviourWarn or BlockApplies to min length, max length, and pattern rules. Required is always Block.

Rich text

Rich text validation checks the rendered text content (HTML stripped), not the raw HTML. The character count applies to the visible text.


Date field validation details

Date, Datetime

PropertyTypeNotes
RequiredBooleanEmpty date fails required.
Min dateFixed date, or token: today, edition_start, edition_end, edition_data_date
Max dateFixed date, or token
BehaviourWarn or Block

Token reference:

TokenResolves at validation time to
todayCurrent calendar date (server time, workspace timezone)
edition_startEdition reporting period start date
edition_endEdition reporting period end date
edition_data_dateEdition data date

Datetime fields: Min and max date apply to the date component only. The time component is not independently validated.


Select and Multi-select validation details

Select

Select fields implicitly validate against the configured option list — a value not in the list cannot be entered (unless "Allow other" is enabled).

Required: If required is set, the field cannot be left at its "no selection" state (blank / null).

Pattern for "Allow other" free text: When "Allow other" is enabled, a Pattern (regex) rule can be applied to the free-text entry.

Multi-select

PropertyTypeNotes
RequiredBooleanAt least one selection must be made.
Min selectionsIntegerMinimum number of options that must be selected.
Max selectionsIntegerMaximum number of options that can be selected.
BehaviourWarn or BlockApplies to min/max selections. Required is always Block.

File and Image validation details

Image

PropertyNotes
RequiredAt least one image must be uploaded.
Min filesMinimum number of images.
Max filesMaximum number of images.
Accepted formatsJPEG, PNG, GIF, WebP, SVG (configured on the field, not as a validation rule).
Max file sizePer-file limit (configured on the field).

File

PropertyNotes
RequiredAt least one file must be attached.
Min filesMinimum number of attachments.
Max filesMaximum number of attachments.
Accepted MIME typesConfigured on the field. Attempting to upload a disallowed type produces an upload error (not a validation rule error).

Cross-field validation rules

Cross-field validation rules are configured at the section level, not on individual fields. They reference one or more fields.

Rule typeDescriptionSupported field types
Field A ≤ Field BValue of Field A must be ≤ value of Field BNumber, Currency, Percent, Date
Field A < Field BStrict less thanNumber, Currency, Percent, Date
Field A ≥ Field BGreater than or equalNumber, Currency, Percent, Date
Field A > Field BStrict greater thanNumber, Currency, Percent, Date
Field A = Field BMust equalNumber, Currency, Text, Select, Date
Field A ≠ Field BMust not equalNumber, Currency, Text, Select, Date
Conditional requirementIf Field A = value → Field B is requiredAny field A; any field B
Conditional rangeIf Field A = value → Field B must satisfy min/maxAny field A; numeric/date field B
Conditional patternIf Field A = value → Field B must match regexAny field A; Text field B

Behaviour for cross-field rules

All cross-field rules support Warn or Block behaviour independently of the individual field's own validation rules.


Validation summary panel — section status indicators

IndicatorMeaning
Green tickAll required fields completed, no Block failures
Yellow dotWarn-mode validation failures present, but section can be completed
Red XOne or more Block-mode failures, or required fields empty — section cannot be completed
Grey circleSection not yet visited