Form Validation
Overview
Turbo provides built-in support for server-side form validation through HTTP status codes. When a form inside a <turbo-frame> is submitted and the server responds with HTTP 422 (Unprocessable Entity), Turbo automatically replaces the frame's content with the response HTML — no full page reload needed. Validation errors appear inline, preserving the user's context.