Skip to main content
Remix forms run through server-side actions by default, which is ideal for Formbase. Your action can forward the form data to Formbase and return a clean success or error state to the client. This avoids browser redirects and gives you full control over validation and UI feedback.
1

Create a Remix action

Forward the form data to Formbase from the server.
Because this runs on the server, Formbase responds with JSON.
2

Build the form

Add encType="multipart/form-data" if you include file inputs.
Server actions are the recommended Remix pattern. Client-side fetch works too, but you must handle a 303 redirect response.