Scanix Docs
Capture data & automateTemplates & the Designer

Index fields

Define the metadata a template captures — field types, sources, and Required vs Mandatory.

Index fields are the metadata your template captures for every document — the columns of your export. Each field has a data type, a source that fills it, validation rules, and flags that decide whether an empty value can leave the build. This page lists every option and value.

Open the Index Fields section of the Designer. The header reads Index Fields (N), and the table has these columns:

ColumnWhat it shows
Field NameThe field's name and the metadata key it exports under.
TypeThe field's data type (see below).
SourceWhere the value comes from.
Linked Zone / DefaultThe OCR zone (or MRZ) that fills it, or its default value.
Req.Whether the field is Required or Mandatory.

Each row also has a settings (expand) control to reveal the full options, and a delete control.

Add fields

You build the list two ways:

  • Add Field — creates an empty field you name and configure by hand.
  • Import from Zones (N) — creates index fields from zones that aren't yet linked to one, so the values you drew on the page become export columns in one click.

When a field's source is an OCR zone or MRZ, set its Linked Zone so the captured value flows into the field.

Data types

A field's Type sets how its value is formatted and validated. There are nine canonical index-field types.

TypeCapturesType configuration
TextAny text
NumberA numeric valueDecimal places, allow negative
CurrencyA monetary amountCurrency code, decimal places
DateA calendar dateDate format hint
Date+TimeA date with a timeDate format hint
Yes / NoA true/false (boolean) value
EmailAn email address
PhoneA phone numberPhone country
DropdownOne value picked from a fixed listDropdown options (one value per line)

Type configuration falls back to your locale

The per-type extras (decimal places, currency code, date format hint, phone country) default to your Locale & Formats settings when you leave them blank, so most fields need no extra configuration.

Older types are migrated automatically

Templates built with programming-style types such as Integer or Decimal load as Number automatically — you don't need to change anything.

Sources

A field's Source decides where its value comes from. Set the Linked Zone when the source reads from the page.

SourceFills the field fromNeeds a linked zone
ManualAn operator typing it on the review screenNo
OCR ZoneThe text read from a zone you drewYes — pick the zone
MRZA passport or ID's machine-readable zoneYes — pick the MRZ zone
Auto-IncrementA counter that advances per documentNo
Date StampThe date the document is processedNo
User IDThe operator who processed itNo
DropdownA value chosen from the field's fixed listNo

Required vs Mandatory, and the other flags

Four flags control how a field behaves on the review screen and at export. Required and Mandatory both gate export when the value is empty — the difference is whether an operator can push past it.

FlagEffectDefault
RequiredAn empty value blocks export, but the operator can override it and export anyway.Off
MandatoryAn empty value blocks export and cannot be overridden — for compliance fields that must never ship blank.Off
Read-onlyThe operator can't edit the value on the review screen.Off
HiddenThe field is processed silently and never shown.Off

Required can be overridden; Mandatory can't

Use Required when a missing value should stop and ask the operator but a human may still decide to proceed. Use Mandatory when a blank value must never reach export under any circumstances — there is no operator override.

Validation regex

Each field can carry a Validation Regex the captured value must match. Choose a named preset from the combobox or type your own pattern. When a field's type implies a preset (for example Email → Email, or a Date type → a date preset) the matching preset is filled in for you — and a pattern you type yourself is never overwritten.

These presets are shared by zones and index fields:

CategoryPresets
NumbersInteger, Positive integer, Decimal (point), Decimal (comma)
TextAlphanumeric, Letters only
PhonePhone (any), Phone — E.164, Phone — US / NANP, Phone with extension
DateDate — ISO (YYYY-MM-DD), Date — US (MM/DD/YYYY), Date — EU (DD/MM/YYYY), Date (any common)
OtherEmail, URL (incl. www.), US ZIP, IBAN, GUID

Per-field options

Expand a row to reach every option for that field.

OptionWhat it doesDefault
Display LabelThe operator-facing label on the review screen.Same as the field name
Default ValueThe value used when nothing is captured.
Validation RegexThe pattern the value must match (preset combobox or custom).Auto-suggested by type
Dropdown OptionsOne value per line, for a Dropdown field.
Type configurationPer-type extras: decimal places, currency code, allow negative, date format hint, phone country.Locale & Formats defaults
RequiredEmpty blocks export; operator can override.Off
MandatoryEmpty blocks export; cannot be overridden.Off
Read-onlyOperator can't edit it on the review screen.Off
HiddenProcessed silently, never shown.Off
Label color / Zone overlay colorVisual hints for operators; the export is unaffected.Blue / orange
Lookup sourceFill or check the value from an outside source: None, Web service, Database query, or Keyword list.None

External lookups

The Web service and Database query lookup sources are available in the field options. Confirm them against your own environment before relying on them in production.

Screenshot

The Index Fields section with one row expanded — showing Type, Source, Linked Zone, the Validation Regex preset combobox, and the Required / Mandatory / Read-only / Hidden flags. — shot templates-index-fields-01

Where index fields go

Every index field value is written to your metadata export — XML, CSV, JSON, and the other formats — and shown on the review screen for each document. Required and Mandatory decide whether an empty value can be overridden by the operator at export, or blocks it outright. For how each value is read off the page and reviewed per page, see Data capture.

Next steps

Index fields — Scanix Docs · Scanix