BackgroundSync Form
Browser Support
How It Works
Configuration
Usage
Basic Form with Background Sync
Form with Custom Redirect
Form with Custom Headers
Form with Custom Fetch Parameters
JSON Form Submission
File Upload Form
Form with Loading State
Form with Validation Feedback
Best Practices
Always Configure Matching Routes
Handle All Submission States
Validate Before Sending
Choose Appropriate Encoding
Set Appropriate Retention Times
Common Use Cases
1. Offline Contact Form
2. E-Commerce Order Form
3. Survey/Feedback Form
4. Field Service Report
API Reference
Values
params
paramsheaders
headersredirection
redirectionauthenticating
authenticatingkeyIdIndex
keyIdIndexActions
send(event)
send(event)Targets
Events
before:send
before:sendafter:send
after:senderror
errorinvalid-data
invalid-dataunsupported-enctype
unsupported-enctypeauth-missing-key
auth-missing-keyRelated Components
Resources
Last updated
Was this helpful?