Skip to main content

Field Types

In Seal we have many different field types, allowing all sorts of data to be stored. Fields can be added to any entity via the Fields tab in the right hand sidebar. Screenshot 2025-08-28 at 19.28.13.png
FieldNotes
TextSingle or multi-line. Multi-line text fields support markdown text formatting.
Learn about how to use markdown here
NumberSimple number input
CheckboxBoolean
DateDate input, no timezone
Time & dateTime & date input, option to add timezone information
SelectCreate custom options for users to select between. Can be configured to allow users to select one or be able to select multiple.
UserSelect a User from Seal. Can be configured to allow users to select one or multiple.
ReferenceReference an entity within Seal. Data can be looked up through this link. Can be configured to allow users to select one or multiple entities.
FormulaEnable you to perform calculations across an entity’s fields. Learn more below.
ScriptLink to a Script entity, then that script can be run in the context of the entity you are in.
JSONStores JSON as a string.
Saved searchView a search query as a table within the entity. Learn more below.

Live Fields

Live fields allow specific fields to remain editable on published entities.

Example Use Case

Consider an inventory management system:
  • You have entities representing chemicals, each with a “Current Stock Level” field
  • These entities need to be published so they can be referenced in work instructions
  • But you also need to update the stock level regularly
Without live fields, you’d have to keep the chemical entities as drafts (preventing them from being referenced in published work instructions). With live fields, you can publish the entities while keeping the stock level field editable.

Making a Field Live

To make a field live:
  1. Open the entity (template or instance)
  2. Go to the Fields tab in the right sidebar
  3. Click the three-dot menu on the field you want to make live
  4. Select “Make field live”
Screenshot2025 12 17at10 29 07
Live fields are indicated with a special badge in the UI.
Screenshot2025 12 17at10 29 56

How Live Fields Work

When a field is marked as live on a published entity:
  • Editing the field value on any version updates it for all versions where that field is live. This includes the field configuration
  • Changes to live fields are tracked in the audit log

Live Reference Fields

When a Reference field is made live, it has special behavior:
  • You can reference draft entities without blocking publishing
  • The draft reference does not need to be in the change set
  • When the referenced draft is eventually published, the reference gets pinned to the new version

Live Formula Fields

When a Formula field is made live, it is recomputed at read-time rather than being stored. This enables powerful dynamic calculations:
  • Recomputed on every view: The formula recalculates each time the entity is fetched
  • References current data: When looking up values from other entities, live formulas always use the current live data, not historical snapshots
  • Can reference other live fields: Live formulas can safely reference other live fields on the same entity or external entities when combined with Reference field

Example Use Case

Consider tracking inventory across multiple locations:
  1. You have a “Chemical” entity with a live “Current Stock Level” field
  2. You have a “Lab” entity with a live formula that sums stock levels from referenced chemicals
  3. When stock levels are updated on chemicals, the lab’s total automatically reflects current values

Important: Non-Live Formulas Cannot Reference Live Fields

If a formula field is not marked as live, it cannot reference live fields on published entities. This is because:
  • Non-live formulas are computed once at publish time and stored
  • You’ll see an error: “This formula references a live field. Make this formula field live to resolve this error.”
Solution: Make the formula field live so it recomputes at read-time.
If a live field’s configuration is changed (e.g. field renamed, type changed, or deleted) on a newer version, the live field value on older published versions may display an error.

Formatting Fields

Formatting options available to a field depend on the type of data within them. Currently, formatting is available for the following data types:
  • Number
  • Time & date
These options are available in formula fields that return supported data types too!

Text

Text fields can be Multi-line to enable longer paragraphs of content. This can be formatted using markdown. See table below for markdown varieties.
SymbolDescription
[ ]Checkbox
#, ##, ###Heading 1, heading 2, heading 3 * Note that headers can be in lists, and indented as well.
``Codeblock
* or _Italics
** or __Bold
>Quoted text
-Bulletpoints
1.Numbered list
~~Strikethrough
You can also adjust indentation, for better organisation.

Number

For Number fields, the following formatting options are available:
  • 0.X: Displays the original number without formatting.
  • 0.0: Formats the number to one decimal places.
  • 0.00: Formats the number to two decimal places.
  • 0.000: Formats the number to three decimal places.
  • 0.0000: Formats the number to four decimal places.
  • SCI: Displays the number in scientific notation.
  • SCI3: Scientific notation with the coefficient rounded to three significant figures.
  • Rounded: Rounds the number to the nearest integer

Date / Time & Date fields

Fields can be configured to customize both the format and the timezone. The same configuration can also be applied to formula fields that return a Datetime value. Time & Date field values are stored as UNIX timestamps. LEarn more about UNIX timestamps here. You can also set a Default Datetime format for your whole org in the Settings page.

Adjusting Format

Users can customize Date/Time & date formats using our presets or by creating custom formats. We support date-fns and Unicode Technical Standard #35 standards. Here are a couple of commonly used format patterns to get you started:
UnitPatternResult Examples
Calendar yeary44, 1, 1900, 2017
yy44, 01, 00, 17
yyyy0044, 0001, 1900, 2017
MonthM1, 2, …, 12
MM01, 02, …, 12
MMMJan, Feb, …, Dec
MMMMJanuary, February, …, December
Day of monthd1, 2, …, 31
do1st, 2nd, …, 31st
dd01, 02, …, 31
AM, PMa..aaAM, PM
aaaam, pm
Hour [1-12]h1, 2, …, 11, 12
hh01, 02, …, 11, 12
Hour [0-23]H0, 1, 2, …, 23
HH00, 01, 02, …, 23
Minutem0, 1, …, 59
mm00, 01, …, 59
Format patterns are case-sensitive.For example, M stands for month, while m stands for minute. Always double-check the case when creating custom formats to ensure accuracy.

Adjusting Timezone

Time & Date fields are displayed in the user’s local timezone by default. To ensure all users see the same timezone, disable “Use user’s local timezone” and select from the dropdown list. Use the search function to quickly find your timezone. The actual timestamp remains consistent and is adjusted according to the selected timezone settings. The chosen timezone will be flagged on the date picker when filling in fields to avoid any confusion. Screen Cast 2025-06-25 at 5.28.00 PM.gif Screen Cast 2025-06-25 at 5.47.17 PM.gif

Formulas

Formula fields in Seal enable you to perform calculations across an entity’s fields. Screen Cast 2025-08-28 at 7.41.37 PM.gif Use the @ symbol in the formula input to see the fields and properties (eg. CREATED_BY) available to use in the formula expression. Formula expressions can include the following fields:
  • Number
  • Text
  • Select
  • Time & date
  • Reference
  • Checkbox
  • Formula
What can I compute with formula fields?Seal’s formula fields cover a wide range of functionality, from simple calculations to complex computing.The underlying library handling the calculations is Math.js. See the table below for examples of common operators and how to use them in your formulas.For a full list, please refer to the Math.js library, or speak to our team.
Formula LanguageData typeDescription
+ - / *NumberAddition, subtraction, division, multiplication
==NumberEqual to
!=NumberNot equal to
< >Less than, greater than
<= >=Less than or equal to, greater than or equal to
orMixedOR statement
andMixedAND statement
notMixedNOT statement
concat( @Field1, @Field2 ) eg. concat( string( @quantity), @unit)MixedConcatenate multiple fields in a formula expression. Convert the field to a string using string() if the field types are different.
lookup( @referenceField , "Field name") orlookup( @referenceField , "Property")EntityLooking up a field in another entity via a reference field. Note that the field name you want to look up must be in quotation marks, e.g. "String". You can look up a multi-value field via a single-value reference — all values will be displayed. Screenshot 2025-08-28 at 20.01.38.png
dateAdd( @dateField, number, unit) E.g. dateAdd( @dateField, 2, years)DateFunction to add time periods to date fields. Supported units: 'days', 'months', 'years'
convertToDatetimeField( @datetimeField) E.g. convertToDatetimeField(@datetimeField1 - @datetimeField2)
Because Time & Date columns are stored as UNIX timestamps, they can very easily be added and subtracted. However the output will be a number. Use this function to convert your results back into a Datetime format.
Time & DateFunction to convert a unix timestamp to a Time & date field.
formatDatetime(@datetimeField, "format string", "timezone") E.g. formatDatetime(@datetimeField, "yyyy-MM-dd HH:mm", "America/New_York") OR formatDatetime(@dateField, "format string") E.g. formatDatetime(@dateField, "MM-dd-yyyy")Time & Date, DateFunction to format a Time & date or Date field into a string. Date fields do not have the additional timezone section whereas Time & date fields must have it. The format string must adhere to the rules set out above Refer to the timezone support section below for more information about the timezone string.
? E.g. (@Field > 3 ? "Large" : "Small"Mixedif statements (conditional logic) Screenshot 2025-08-28 at 20.01.20.png
compareText( @Field, "text" ) == 0 E.g. compareText( @Status, "Active" ) == 0Text, SelectCompare strings for equality. Returns 0 if equal, 1 if first > second, -1 if first < second. Use == 0 to check equality. Works with Text and Select fields (compares the selected option).
Formulas calculate in real time, so you can instantly verify the expression returns your desired result. Formulas get recomputed every time an edit is made to the entity they are on. Error messages are show in red text in the formula preview box. Screen Cast 2025-08-28 at 8.02.29 PM.gif Warning messages are shown in yellow below the preview box. Screenshot 2025-08-28 at 20.03.15.png

Timezone Support

Our platform provides flexible timezone handling by supporting three types of identifiers:
  • IANA names
  • Timezone abbreviations
  • Fixed-offset Etc/GMT codes

IANA Timezone Names

Using a standard IANA name pins a location to a specific region, the platform will automatically handle changes for Daylight Saving Time, so timestamps are always correct for that location throughout the year. For a complete list, you can visit this comprehensive list of tz database time zones.
Here is a reference list of some commonly used IANA timezone names
IANA Timezone NameUTC Offset (Standard)UTC Offset (Daylight Savings)
Pacific/Honolulu-10:00-10:00
America/Anchorage-09:00-08:00
America/Los_Angeles-08:00-07:00
America/Vancouver-08:00-07:00
America/Denver-07:00-06:00
America/Edmonton-07:00-06:00
America/Phoenix-07:00-07:00
America/Chicago-06:00-05:00
America/Regina-06:00-06:00
America/Winnipeg-06:00-05:00
America/Halifax-04:00-03:00
America/St_Johns-03:30-02:30
America/Fortaleza-03:00-03:00
Europe/London+00:00+01:00
Africa/Lagos+01:00+01:00
Europe/Brussels+01:00+02:00
Europe/Athens+02:00+03:00
Asia/Istanbul+03:00+03:00
Asia/Dubai+04:00+04:00
Asia/Kolkata+05:30+05:30
Asia/Bangkok+07:00+07:00
Asia/Manila+08:00+08:00
Asia/Shanghai+08:00+08:00
Asia/Singapore+08:00+08:00
Asia/Seoul+09:00+09:00

Fixed UTC Offset Timezones

If you require a timezone with a static UTC offset that does not change during the year, you can use either a timezone abbreviation or an Etc/GMTcode .
Be aware that many abbreviations are ambiguous. While some abbreviations can be ambiguous (e.g. CST can have multiple meanings globally), our platform uses the specific UTC offsets defined in the table below. Please refer to this list to confirm which offset corresponds to each abbreviation.
The Etc/GMT format is a more explicit way to define a fixed offset. Important Note: The Etc/GMT notation uses a POSIX-style sign, which is the reverse of what is commonly expected.
  • Etc/GMT-X corresponds to UTC+X. For example, Etc/GMT-10 is 10 hours ahead of UTC.
  • Etc/GMT+X corresponds to UTC-X. For example, Etc/GMT+5 is 5 hours behind UTC.

Setting Out of Specifications

Users can set an Out-of-Specification expression on Number, Formula, Text, Time & date, and Select fields, using the formula language mentioned above. The expression must resolve to a boolean true or false . Screenshot 2025-08-28 at 22.27.00.png If the expression is true, the field will be highlighted and you will see an icon warning that the value is out-of-specification. Screenshot 2025-08-28 at 22.27.48.png Add and edit the field ‘out of spec’ expression from the field three-dot-menu. Screen Cast 2025-08-28 at 10.28.41 PM.gif Use the @ symbol to see available field value suggestions. Reference the field value that you want to validate against any condition using the operators available in Seal’s formula language. Screenshot 2025-08-28 at 22.30.15.png You can compare the field value to other field values within the same entity. Screenshot 2025-08-28 at 22.30.32.png

Out-of-Spec Expression Additions

The out-of-spec (OOS) expression extends the capabilities of the standard formula language. This section outlines specific operators and techniques unique to OOS within the formula language framework.
OperatorsData TypeDescription
now()-The current date and time
@Field == true E.g. @Cell checked == trueCheckboxIf the field is checked
@Field == false E.g. @Cell checked == falseCheckboxIf the field is unchecked
@Field == null E.g. @Number == nullAnyIf the field is blank

Reference Fields

Reference fields allow you to link to other entities in Seal. You can link to existing entities or create new entities directly into the field.

Version Options

When selecting a reference, you can choose which version of an entity to reference.
Entity KindVersion Options
TemplatesCan reference a pinned version (e.g. v1, v2) or the Active version (always points to the current active version)
InstancesBy default, can only reference pinned versions. Active version references from templates get pinned when the instance is created.

Allowing Active Version References in Instances

A type setting called “Allow active version references” changes this behavior for instances:
  • When off (default): Instances can only reference pinned versions. If a template references “Active version”, this gets resolved to the current active version when the instance is created.
  • When on: Instances can also select “Active version” in reference pickers. Template references to “Active version” remain as “Active version” in the instance.
This setting is configured in the Type’s Instance Settings.

Draft References

In templates and draft instances, you can reference draft entities. These draft references get pinned to the newly published version when the referenced entity is published.
Learn more about Active Versions here.

Reference field configuration:

On reference fields, you can configure how the reference behaves as well as what can be referenced. Screenshot 2025 12 17 At 12 33 34

Coupled

If a reference field is ‘coupled’ the following behaviour applies:
  • Placeholders in templates - in a template, you cannot reference existing entities. Instead you can add placeholders into the reference fields. On instantiation of the template, these placeholders will create new instances that will be referenced by the containing instance. Learn more about placeholders below.
  • Cascading drafts - in instances, if you make a draft of a referenced instance the containing entity will also be put into draft. the reference field in the containing entity will now point to the new draft.
  • Cascading archiving - if the containing entity is archived, any entities in coupled reference fields will also be archived.

Entities in new change sets

If this setting is on, all entities created into the reference field will be created into separate change sets. By default, they all get created into the same change set.

Configure reference

The configure reference modal allows you to select _which entitie can be referenced _as oppose to how the reference behaves. For uncoupled reference fields, the modal allows you to filter down what entities can be added to the field using a query string. ‘Limit references to pinned versions’ means that users will not be able to reference the ‘Active version’ in instances. Screenshot 2025 12 17 At 12 51 01 For coupled reference fields, you can choose which template / type the entities in this field can come from. By default, you can only create new entities into this field from the chosen template / type, however you can allow existing entities to be added via this modal. Screenshot 2025 12 17 At 12 52 30

Display mode

Choose between pills, preview or table to display the referenced entities. When in ‘preview’ mode, draft entities in other change sets can be published / sent for review directly from the containing entities page. Screenshot 2025 12 17 At 12 54 39

Placeholders

When Coupled is enabled on a template, the field creates placeholder entities instead of referencing existing ones. These placeholders are hidden from search by default. For reference fields configured to the ‘Active version’ of a template, these placeholders are ‘attached’ to their source template. This means that, when the active version of that template updates:
  • The placeholders inherit content and field configuration from the template’s active version.
  • Only field values can be customized.
Detaching a placeholder:
  • To edit content, field configuration you must detach the placeholder
  • Once detached, the placeholder is pinned to a specific template version and no longer receives updates
  • Detach from the placeholder’s from the banner on an attached entity

Example use cases

Data Submissions

Consider a Batch Record that needs to capture process parameters like Temperature, pH, and Dissolved Oxygen:
  1. Create a Reference field called “Process Parameters” on your Batch Record template
  2. Enable “Coupled” in the field menu
  3. Configure the field to point to a “Parameter” template (with fields like Target Range and Actual Value)
  4. Add placeholder rows for each parameter
When the Batch Record is instantiated, each placeholder becomes a real Parameter instance for an operator to fill out. The batch record always references the latest version of each parameter, ensuring data stays in sync.

Work Instructions

Consider a Process with steps that are executed and signed off at different times:
  1. Create a Reference field called “Steps” with “Coupled” enabled
  2. Enable “Entities in new change set” — this gives each step its own change set
  3. Add placeholder steps on the Process template
When the Process is instantiated:
  • Each Step becomes its own instance with its own change set
  • Operators complete steps in sequence
  • Each step can be approved and published independently
  • The parent Process can remain a draft while individual steps are published

Configuration set up examples

OptionDescriptionDocument referenceData submissionWork inruction
CoupledCreates child entities instead of referencing existing onesFalseTrueTrue
Entities in new change setEach child gets its own change set (instances only)FalseFalseTrue
Display modeChoose between Table, File Preview, or PillsPillsTablePreview
Allow multipleAllow multiple child entities in the fieldTrueTrueFalse
When configuring a Coupled field, you must select a template or type that the child entities will be created from.

Adding columns to Reference Fields

You can add columns directly into a Reference field table. Doing so will add that as a field to all existing and future entities in the submission field. You are also able to configure these fields directly from the column in the table. Adding these columns to the table does not affect or add them to the child template configured in the reference field, only the instances made within that particular field. Screen Cast 2025-08-28 at 10.40.14 PM.gif
Note:
  • This cannot be done if any entities in the reference are non-editable (published or in review)
  • This cannot be done if the reference field contains an attached placeholder

Saved Search Fields

Saved search fields allow you to render search results within an entity with page content. You may use the same filter language as in the normal search page. This query then gets saved on publish. The search results will remain live even after your entity is published.

Creating a Saved Search Field

Screen Cast 2025-08-28 at 10.46.06 PM.gif

Filtering by a Reference Field

It is possible to create a filter to only show entities that reference the entity you are on. This screenshot shows a saved search field filtered to show entities that reference the containing entity. Screenshot 2025-08-28 at 22.48.15.png
  • To create a filter like this, we use the normal filtering logic for when we want to filter by a field value - following the pattern field:"Field name"="Field value"
  • For reference fields, the pattern goes field:Reference=ref(entity_id,version)
    • The version after the comma is optional, if you include it, it will show you all entities that reference that entity at that specific version.
    • If you do not include the version, it will show you all entities that reference any version of the entity,
  • In saved search config, you can easily find the containing entity’s id by using @ID
    • In the example above therefore, the config is: field:"Part number"=ref(@ID)
    • This returns a list of all entities that have a reference field called “Part number” that references this specific entity: “Part 12345”
    • Note there is no version included, as the table is showing entities that reference all versions of the part.

Using Field Values in Filters

You can reference field values from the containing entity using @"Field Name". This works in both saved search fields and reference field search configs.
  • Use @"Field Name" to insert a field’s value into your filter
  • The field value is resolved dynamically when the search runs
Example: Filter by a type stored in a TEXT field:
type:@"My Type Field"
This would filter results to match the type name stored in the “My Type Field” on the containing entity. Example: Filter by creator using a USER field. If you have a User field called “Reviewer”:
createdBy:@"Reviewer"
This would show all entities created by the user selected in the “Reviewer” field. Example: Filter by template using a Reference field. If you have a Reference field called “Protocol”:
template:@"Protocol"
This would show all instances of the template referenced in the “Protocol” field.
Example: A fermentation template has a “Vessel Type” SELECT field. Use type:Batch Record field:"Vessel Type"=@"Vessel Type" to show only batch records matching the selected vessel type.
Limitations of @"Field Name" references:
  • Only works with single-value fields. If a SELECT, Reference, or User field has multiple values selected, the reference won’t resolve.
  • Complex field types like JSON, Script, Submission and Saved Search cannot be referenced.
  • Unsupported filters: archived, tag, kind, contentType, searchMode; createdBetween, lastUpdatedBetween; system.

Field Presets

Field presets allow you to save and reuse common field configurations. Instead of manually configuring the same settings each time, you can select a preset when adding a new field.

Default Presets

Seal includes two default Reference field presets:
PresetDescriptionConfiguration
SubmissionFor embedding data tables that publish with the parentPlaceholders/Coupled enabled, Table display, Same change set
StepFor work instruction steps with independent approvalPlaceholders/Coupled enabled, File Preview display, New change set

Using a Preset

When adding a new field, presets appear alongside the standard field types. Selecting a preset creates a field with all the preset’s settings pre-configured.
After creating a field from a preset, you can still modify its settings as needed. The preset just provides a starting configuration.

Custom Presets

Administrators can create custom presets for each system in their organization. This is useful when your team frequently creates fields with the same configuration. Custom presets are managed in the system settings.