Types

Every record-field can declare a type. It decides two things: how the field is compared by filters, sorts and groups, so numbers behave as numbers rather than text where "10" < "9"; and how its value is written into a template. Every value is HTML-escaped on output, so a field can never inject markup, except html, which is inserted raw. Each type is also a record in the reference search.

Field types

TypeCompared asDescription
textstringPlain text, HTML-escaped on output; compared exactly and lexicographically.
htmlstringInserted raw, not escaped, for values that are real HTML markup; compared as text.
integernumberWhole numbers; numeric comparison and equality.
numbernumberNumbers with decimals; numeric comparison.
booleanbooleantrue / yes / 1 / on are true, anything else false.
autonumber or stringUntyped, the default: numeric where the value looks numeric, otherwise text.

A value is checked against its type when the automation runs: a value that does not fit, a non-numeric integer say, is reported with its page and field, and the site is left unchanged until it is fixed. Types are set per field on the record.