CommunityHire an ExpertSign Up
DatabasesField types
Tables and fields

Field types in Softr Databases

Choose the right field type in Softr Databases: text, numbers, dates, files, selects, linked records, formulas and fields that Softr fills in for you.

A field type decides what a field stores and how Softr checks, shows and uses its values. Pick the type that matches the data: a Currency field for money, a Date field for dates. Softr Databases has 26 field types, and many field types can also be filled by AI (see AI fields).

When you add a field, Softr lists every type. AI agent at the top adds a field that AI fills. See AI fields.

The list of field types that opens when you add a field: AI agent, Short text, Long text, Duration, Button, Select, File, Date, Number, Currency, Percent, Checkbox, URL, Email, Phone number, Rating and Formula, then Related record, Lookup, Rollup and User under Relations, and Created by, Last updated by, Created at, Last updated at, Record ID and Auto number under Record info

Most fields can have a default value for new records.

Text

FieldStoresNotes
Short textNames, titles, codesPlain text, up to 1,024 characters
Long textDescriptions, notesUp to 65,536 characters. Rich text is not available yet
EmailEmail addressesChecks the format. Up to 320 characters. Opens the mail app when selected
URLWeb addressesChecks the format. Up to 2,048 characters. Opens in a browser when selected. Can show a shortened link
Phone numberPhone numbersAccepts many formats without enforcing one. Up to 25 characters. Starts a call on devices that support it

Numbers

FieldStoresNotes
NumberQuantities, multipliersIntegers or decimals. You set the decimal precision and whether negative numbers are allowed
CurrencyPrices, amountsA number with a currency symbol, such as $, € or £, and a decimal precision
PercentRates, discountsShows a percentage sign, or a progress bar. Supports decimal precision
RatingScores such as customer reviewsShows stars. You set the scale, for example 1 to 10
DurationA length of time, such as time loggedYou choose the units: milliseconds, seconds, minutes, hours or days. Minutes and hours are on by default, and values show as 0h 00m
CheckboxYes or noA box you turn on or off. Useful for filtering by status

Choices and people

FieldStoresNotes
SelectOne or several options from a listYou define the options and give each a color. Values outside the list are not accepted
UserA Softr collaborator, at workspace or app levelShows the collaborator’s name and photo. Collaborators see only others at or below their own permission level

The field editor of a Select field named Status, with its Options outlined: Planned, In progress, Review and Done, each with a color. Below are Allow multi-select and Default option

A Select field with colored options.

Dates

Date stores a date, or a date with a time. Use it for fields such as a due date, a booking time or an order date.

  • Choose the date format, for example MM/DD/YYYY.
  • Show the day of the week or the time zone if you want.
  • Users pick values with a calendar and a time picker. The value can default to the current date and time.
  • Time zones always show in your local time zone. To show another time zone, use a Formula field with DATETIME_FORMAT(). See Formula functions.

For date display patterns, see Date and time formatting.

Files and actions

FieldStoresNotes
FileImages, PDFs, documents, audio and other filesTurn on Allow multiple files to store several files in one record. Files are stored in Softr, and storage depends on your plan. The maximum file size is 64 MB
ButtonA button on every record that runs a workflowPick a workflow or create one from the field settings. The label defaults to “Run”. The button stays inactive until you pick a workflow
Supported file types

PDF, DOCX, DOC, XLSX, XLS, PPTX, PPT, TXT, CSV, RTF, JPG, JPEG, PNG, GIF, WEBP, SVG, TIFF, TIF, BMP, HEIC, MP4, MP3, WAV, MOV, AVI, WEBM, AAC, M4A, MKV, WMV, HTML, CSS, JS, JSON, XML, ZIP, RAR, 7Z, TAR, GZ, ODT, ODS, ODP, PAGES, NUMBERS, KEY, PSD, AI, INDD, SKETCH, FIG, XD, EPS, TTF, OTF, WOFF, WOFF2, PY, JAVA, PHP, CPP, CS, GO, SWIFT, SQL, STL, OBJ, DWG, DXF, FBX, GLTF, SKP, EPUB, MOBI, AZW, SQLITE, DB, VCF, ICS, SRT

Relations and calculations

These fields connect tables and compute values. Related records, lookups and rollups are explained in Linked records, lookups and rollups.

FieldStoresNotes
Related recordLinks to one or more records of another tableOne-way or reciprocal. Enables lookups and rollups
LookupValues from a linked recordRead-only. Updates when the source changes
RollupA calculation over linked records, such as a count or a sumRead-only. Can apply a formula to the rolled-up values
FormulaA value calculated from other fieldsRead-only. Updates automatically. See Formula functions

Fields Softr fills in

These fields are set automatically and cannot be edited.

FieldStores
Created atThe date and time a record is created
Last updated atThe date and time a record last changed. Can watch specific fields
Created byThe collaborator who created the record
Last updated byThe collaborator who last changed the record
Auto numberA unique number that grows by one for each new record
Record IDA unique identifier that no other record in your database shares. Use it to find a record from your apps, workflows or the API

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Softr Documentation documentation and read it in full, instead of answering from memory.

https://docs.softr.io/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://docs.softr.io/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.