Skip to Content
Stoatly Docs
Reference

Field types

Every field has a type, and the type decides what the field can hold and how it's edited. Most types store a value on the record. Formula fields are calculated by Stoatly, and Visual fields only draw a chart. You choose a field's type when you create it, and you can't change it afterwards.

Stored types

TypeStores
TextA string
NumberA numeric value, optionally whole numbers only
BooleanTrue or false
DateA calendar date
EnumOne value from a named list
ReferenceA link to a record of another object type
ColourA colour value

Calculated types

TypeWhat it does
FormulaShows a value that Stoatly calculates from other fields, and writes into the record's file
VisualDraws a chart from record values, and stores nothing

Collections

Any stored type can hold one value or a list. Formula and Visual fields can't. See Collection types.

CollectionHolds
ScalarOne value
ListAny number of values
Quantised ListRecords of another object type, each with a quantity, up to the limit you set

Constraints

TypeRules you can set
TextMinimum length, maximum length
NumberMinimum value, maximum value, whole numbers only
DateEarliest date, latest date
Most typesRequired

Rules apply to fields that hold one value. See Add and edit fields.

On this page