DocsAccounts & records · FQL
On this page

Submit a record form

Connect a form to a saved record and handle errors.

Before you begin: Create and edit records.

Form Submit Example

index.html

For FQL onsubmit bindings, Frontbacked prevents the default browser reload before your handler runs. Frontbacked will also lock the triggering element while its network request is pending.

Error Handling

Auth and post methods return Frontbacked JSON responses. Check ok, error, and any domain-specific fields the response includes.

js

Reference excerpt: use this with the page, variables and functions described in this guide. Try a complete example →

When FRL rejects a write, the response tells the frontend which rule or validation failed closely enough to guide the user.

Continue with Check state before submitting.