Form submission
Native validation, pending state and recoverable errors.
Keep validation, pending state and recovery explicit. Native validity runs before submit. Application or server errors belong to the form and its fields.
Capture FormData before disabling any native fields. This example preserves user input after failure. Map returned field errors to Field and optionally ErrorSummary; never pretend the request succeeded. The host supplies persistence, cancellation, authentication and navigation. Place inside FloodRoot and import its CSS once.