Hidden Field
Overview
An invisible form value. Use it to save information the visitor should not edit, such as who submitted, which parent record this belongs to, or where the form lives.
When to use
- Attach the signed-in user's id to the record (Default value = Current user → id)
- Link a new note to the customer page it was opened from (Default value = Page parameter id)
- Tag records with the source (“website”, “kiosk”)
- Set an initial status such as new
When not to use
- Values the visitor should see: use a Read-only input instead
- Security decisions: hidden values can be changed by a determined visitor; enforce rules with permissions and workflows
Quick start
- Add a Hidden Field inside a Form
- Set Field key to the entity field to fill
- Bind Default value to the dynamic value (Current user, Page parameter, App state) or type a constant
Properties
The caption shown above the field. Keep it short and specific ("Work email", not "Email 2"). It is also read by screen readers and used in automatic error messages.
Default: Hidden
Example: Delivery address
The key this value is saved under when the form is submitted. To save into an entity field, use that field's key exactly (lowercase, underscores). Inputs without a key are not included in the saved record.
Default: hidden_field
Example: phone_number
Two inputs with the same key overwrite each other. Keys must start with a letter and contain only lowercase letters, digits and underscores.
A short hint shown under the field until a validation error replaces it. Use it for format expectations or why you ask for the information.
Example: We only call about your order.
The value the field starts with. It is included when the form is submitted even if the visitor never touches the field. Bind it to pre-fill the value from the current user, a page parameter or the current record.
Example: Bind to Page parameter customerId
Blocks submission while the field is empty and shows a red asterisk next to the label. The message is “<Label> is required” unless you set a Validation message.
Default: false
Shows the value but prevents editing. Useful for values you pre-fill and want the visitor to see but not change. Bind it to make a field editable only for some roles or statuses.
Default: false
Greys the field out and skips it from keyboard navigation. Bind it to a condition such as “Status is Closed” to lock a field in context.
Default: false
Data binding
Submits its Default value under the Field key. On the editor canvas it shows as “Hidden field <key>” so you can find it; in the live app it renders nothing.
Properties that can use dynamic data: Label, Help text, Default value, Read only, Disabled.
Events
- On change
- Runs every time the value changes. The new value is available as Event → value. Typical uses: Set State to drive a filter or a visibility rule, Show Toast for instant feedback. Avoid slow actions (API calls) on every keystroke.
- On focus
- Runs when the visitor enters the field (click or Tab). Useful for showing contextual help or opening a drawer with instructions.
- On blur
- Runs when the visitor leaves the field. A good moment to run lookups (e.g. fetch customer details once an email is complete) because it fires once instead of on every keystroke.
Actions
Open the Actions tab in the inspector, pick an event and add actions such as Go to page, Create record or Show message. Actions run in order; data-changing actions run on the server with the signed-in user's permissions.
Other components can read this component's value from the Data Picker → Component state.
Responsive behavior
Uses 6 of 12 columns by default. In the Responsive tab you can change visibility, span, dimensions, padding, margin, font, order, alignment, direction separately for tablet and mobile.
Permissions
Treat hidden values as untrusted. Record-level permission rules decide what a user may create (for example a customer cannot create a job for another customer, whatever the hidden value says).
Examples
Note linked to the current customer
Page: /customers/:id Form saves to: Notes Hidden Field: Field key customer_id · Default value = Page parameter id Hidden Field: Field key author_id · Default value = Current user → id Text Area: Field key body
Common patterns
- status = new as a constant so new records land in the right Kanban column
- source = the page name using Current page → name
Limitations
- Only one value per hidden field; add several for several keys
Troubleshooting
Why: The bound value is not available on that page (e.g. no page parameter)
Fix: Check the page route defines the parameter and that the user is signed in for Current user values