# Forms and files in Effect UI `Validation` derives each field's errors from the form state kept in the Model. `HtmlFiles` reads and saves files from Commands. - **[Validating a form](./10_validation.ts)**: Field rules, a cross-field rule, the `onBlur` mode and a requirements checklist. - **[Checking a field on the server](./20_async-check.ts)**: Check a field on the server with a debounced query, and show a server rejection with `reject`. - **[Secret fields such as passwords](./30_secret-fields.ts)**: Keep passwords as `Schema.Redacted` in the Model, messages and Command args. - **[Choosing and reading files](./40_choosing-files.ts)**: Choose files with an input or a picker shortcut, and read them in a cancellable Command. - **[Downloading a file the app makes](./50_downloading-files.ts)**: Download a file the app makes with `HtmlFiles.download`, checked with `TestFiles`.