# 📝 Form Handling A registration form demonstrating validation, multiple field types, error display, async submission, and double-submit protection. --- ## index.html ```html Form Handling

Create Account

Please enter your name
Please enter a valid email
Password must be at least 8 characters
Please select a role
You must agree to the terms

Account Created

``` --- ## What this demonstrates - Multiple field types: text, email, password, select, checkbox - Client-side validation with per-field error messages - `context.values` for all field types including checkbox - Async form submission with loading state - Disabling the submit button during async work - Navigating with params after success - `app.page()` for attaching a lifecycle hook in JavaScript - `context.params` on the success page --- ## Next [07 Dashboard](./07-dashboard.md)