The Seal Platform
WebsiteGet StartedContact Us
The Seal Platform
  • Website
  • Contact Sales
  • Logging in & System Requirements
  • Get Started Here
  • Moving to Seal
    • Migration
    • Implementation
  • Manage
    • Where do I start?
    • Creating Types
      • Documents
      • Work Done
      • Files
        • Extracting Fields with AI
      • Scripts
        • Writing Scripts with the Seal Module
        • Script Action Buttons
      • Charts
      • Converting Between Types
    • Adding Content and Fields
      • Computed Titles
      • Formatting Text
      • Formulas
      • Numbered Lists
      • Setting Assignees
      • Setting Out-of-Specifications
      • Setting Review Requirements
      • Submission Tables
    • Executing Types: Test Instances
    • Work Instructions
    • Change Sets
    • Active Versions
    • Training
    • API
  • Operate
    • Where do I start?
    • Re-executing Instances
    • Reviewing
  • MISC
    • Glossary
    • Inbox
    • Search Page and Saved Views
    • User Permissions and Roles
    • Tags
    • Github Integration
    • Change Management
    • Seal Changelog
  • Video Guides
    • Creating Templates
    • Creating and Reviewing Instances
    • Sending and Completing Trainings
  • Validation
    • Why do I need to validate my platform?
    • What is needed from my end for validation?
    • How is my system validated?
      • Baseline Validation
      • Configuration Validation
      • Compliance Validation
      • What about IQ, OQ, or PQ?
      • Automatic Revalidation
        • Change Controls
      • How do I know if my system is compliant to a standard?
        • Setting up your System
        • Performing Compliance Validation
    • GxP Validation for enterprise customers
    • Can I download a Validation Report?
      • Software Functionality Verification
    • Common Validation FAQs
  • Product Quality
    • Seal's Guarantee of Quality
    • Product Development Lifecycle
    • Platform Operation Tests
    • Incident Procedure
  • IT & Security Policies
    • Seal's Tech Stack
    • Data Storage and Security
    • Cloud Servers vs On-Premises File Servers
    • Data Backup and Disaster Recovery
    • Disaster Recovery Plan
    • Handling Confidential Data
    • Common IT FAQs
  • Regulatory Standards
    • 21 CFR Part 11
    • EU Volume 4 Annex 11
    • ISO 13485 Medical Devices
    • Clinical Laboratory Improvement Amendments (CLIA)
  • Support
    • Contact us
Powered by GitBook

Copyright © Seal 2025. All Rights Reserved.

On this page
  1. Manage
  2. Adding Content and Fields

Formulas

Last updated 2 days ago

Formula fields in Seal enable you to perform calculations across an entity's fields.

Use the @ symbol in the formula input to see the fields 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.

Formula Language
Data type
Description

+ — / *

Number

Addition, subtraction, division, multiplication

==

Number

Equal to

!=

Number

Not equal to

concat( @number, @field) E.g. concat( string( @quantity), string( @unit) )

Mixed

Concatenate multiple fields in a formula expression. Convert the field to a string using string() if the field types are different.

lookup( @Reference , "Field name") lookup( @Reference , "Property")

Entity

Looking up a field in another entity. Note that the field name you want to look up must be in quotation marks, e.g. "String".

dateAdd( @dateField, number, "unit") E.g. dateAdd( @dateField, 2, "years")

Date

Function to add time periods to date fields. Supported units: 'days', 'months', 'years'

@Fieldname == null ? <if value does not exist> : <if value exist>

Any field data type allowed in formulas

To return a value conditionally based on the field value.

Formulas calculate in real time, so you can instantly verify the expression returns your desired result.

Error messages are show in red text in the formula preview box.

Warning messages are shown in yellow below the preview box.

For a full list, please refer to the library, or speak to our team.

You can look up a multi-value field via a single-value reference — all values will be displayed. Note that you can also look up properties from the current entity by typing in the $ symbol.

Math.js