A form does not save
When a form does not save, the app usually tells you why: a field error under an input, or a red toast with the server's message. The causes fall into three groups: the form is not wired to an entity, a field fails validation, or the signed-in role is not allowed to create or cha
When a form does not save, the app usually tells you why: a field error under an input, or a red toast with the server's message. The causes fall into three groups: the form is not wired to an entity, a field fails validation, or the signed-in role is not allowed to create or change that record.
Symptoms
- Nothing happens on Save, or the page just reloads.
- A field shows "… is required" or a custom validation message.
- A toast says "Your role can't create customers." or "You can only create bookings that belong to you."
- The success message appears but the record is nowhere to be found.
Likely causes and fixes
1. You are on the editor canvas
Inputs are disabled and actions do not run while editing. Use Preview.
2. The form is not bound to an entity, or inputs are not mapped to fields
- Select the Form and open its Data tab: choose the entity and the mode (create or update).
- Select each input: its Field must point at a field of that entity. Unmapped inputs are ignored.
- Make sure the Save button is inside the form and has Submits the surrounding form on (business components set this up for you).
3. A field fails validation
The first invalid input is focused and shows a message such as "Email is required" or your custom validation message. Required fields, min/max and patterns are configured on the input (Content tab) and on the entity field. Hidden required inputs cannot be filled: check the Visibility tab.
4. The role is not allowed
The server checks permissions on every save:
- "Your role can't create <entity>." — add a Create rule for the role in Users › Roles & permissions. Public (not signed-in) forms need a Public rule with Create; the checklist does not add it for you.
- "You can only create <entity> that belong to you." — the role has an own-records rule (for example Customer email = current user), and the record being saved does not match. Set the email field from the current user (a default value binding) or hide it so the server fills the scope.
- "That change would move the record outside what you can access." — an update tried to change the field used by the own-records rule.
- Read-only fields for the role are silently dropped from the save.
5. The record was saved, in another environment
Preview and staging save test records; the live app saves live records. Look in Data › Records with the matching switch (live data needs admin access).
6. Update mode without a record
A form in update mode needs the current record (a detail page with a parameter, or a selected row). Without it the toast says "No record selected."
7. Too many submissions
Creates are limited per user (60 per minute); a burst of test submissions can hit the limit. Wait a minute.
Example
Public "Request service" form, visitor not signed in
Toast: "Your role can't create service requests."
Fix: Users › Roles & permissions › Public › Service Requests › allow Create
(the publish checklist then warns about visitors creating records — expected)Common mistakes
- Mapping two inputs to the same field. The last one wins; one of them looks ignored.
- A relation field with no matching record. Create the parent record first (the customer before the booking).
- Expecting a workflow to save the record. The form saves; workflows react to "record created".