Remix Integration
Handle FormSync submissions seamlessly inside Remix actions.
Install the Package
Install FormSync using your preferred package manager:
Terminal
You can also use npm, yarn, or bun.
Usage with Remix
FormSync provides a handleFormSync function specifically for Remix. It automatically parses request.formData() and submits the data to FormSync.
Example
Remix Form Action Example
Configuration
| Parameter | Type | Required | Description |
|---|---|---|---|
request | Request | true | The incoming Remix Request object. |
config | object | true | An object containing formId and baseURL. |
Note:
onSuccessandonErrorcallbacks are not applicable here as this runs within the Remix action. ThehandleFormSyncfunction returns the FormSync response which you can then pass to your UI via Remix'sjsonhelper.
How is this guide?
Last updated on April 24, 2026