On this page

Forms and embeds

A form is a public surface over a table. Forms are managed under Forms, separately from tables, and served from /api/forms/{formId}.

The console generates an embed tag for each form:

html
<script src="https://baseport.example.com/embed.js?id=Kf3nQ8xR2vLm"></script>

The form renders at the tag's position.

Kinds ​

A form has one of two kinds, fixed at creation:

  • form: submits or looks up one record. Actions: submit, lookup, or both.
  • list: a paged, searchable table over the configured columns.

Read only renders values instead of inputs and refuses writes. An unpublished form returns 404.

Child tables ​

A Child table block lists rows of another table whose reference field points at this form's table, such as the lines of an order. The block names the child table, the reference field and the columns to show.

Action Behavior
Submit Rows entered in the block are saved after the record, each with the reference set to the new record
Lookup The found record's existing rows are listed below it, ordered by the block's first column, read-only

Rows come from /api/forms/{formId}/child/{tableId}?refId={recordId}, which answers only for a record that exists in the form's table. Password fields are never returned.

The hosted page ​

Every form also has a server-rendered page at /f/{formId}, for links and search engines:

txt
https://baseport.example.com/f/Kf3nQ8xR2vLm

For a list, the HTML contains the first page of rows and works without JavaScript. The embed replaces it with the interactive version once loaded.

The server-rendered page uses the same column projection as the JSON route. Custom renderers and row actions are JavaScript expressions and are omitted.

For a submit form, the page contains the heading and description only.

Styling ​

The embed exposes CSS variables on .baserow-embed. Its styles are added once per page; overrides need higher specificity.

Allowed sites ​

Settings > Sites lists the origins allowed to embed forms, one per line:

txt
https://shop.example.com
https://portal.example.org

An empty list allows every origin. The list drives the embed CORS policy and frame-ancestors, so browsers block embeds from other origins. It is a browser policy, not access control.

Rate limits ​

Public form routes are rate limited per client and per form.

Route Per minute
Submit 20
Lookup 10
List and /f/{formId} 60
Schema 60

Behind a reverse proxy, Baseport__TrustForwardedHeaders=true is required; without it every visitor shares one budget. See Going to production.

Last updated: 2026-11-03