# Forms

31 problems in Solved Problems in UX.
Page: https://uxreference.com/forms

- [Asking for personal data and saying why](https://uxreference.com/forms/asking-for-personal-data): Ask only for what the service will use, and say why next to anything people may not expect. (Evidence: Weak.)
- [Autofill and identifying input purpose](https://uxreference.com/forms/autofill): Mark each field with what it is for, and never block autofill, pasting or password managers. (Evidence: Settled.)
- [CAPTCHA](https://uxreference.com/forms/captcha): Check for bots without asking anything of people, and show a puzzle only when that check is unsure. (Evidence: Weak.)
- [Checkboxes vs toggles](https://uxreference.com/forms/checkbox-toggle): Use a switch for a setting that takes effect at once, and a checkbox for a choice that waits for submit. (Evidence: Moderate.)
- [Email](https://uxreference.com/forms/email): Use an email field and check only that the address looks plausible. Suggest a fix for likely typos, but let people continue. (Evidence: Moderate.)
- [Entering a date](https://uxreference.com/forms/date-input): Let people type a date they know. Show a calendar only when they are choosing one, and still let them type. (Evidence: Moderate.)
- [Error message content](https://uxreference.com/forms/error-messages): Say which field is wrong and how to fix it, right next to the field. (Evidence: Strong.)
- [Error summaries](https://uxreference.com/forms/error-summary): After a failed submit, list every error at the top, each linking to its field, and keep the message at each field too. (Evidence: Moderate.)
- [Field width as a hint](https://uxreference.com/forms/field-width): Size each field to the length of the answer you expect. (Evidence: Moderate.)
- [File upload](https://uxreference.com/forms/file-upload): Always offer a button that opens the file chooser, and state accepted types and sizes before people choose. (Evidence: Moderate.)
- [Input masks and formatting as you type](https://uxreference.com/forms/input-masks): Accept the separators people type and clean them up yourself, and show the expected shape outside the field. (Evidence: Moderate.)
- [Labels](https://uxreference.com/forms/labels): Give every field a visible label that stays in place while people type. (Evidence: Moderate.)
- [Name](https://uxreference.com/forms/name): Accept names as people write them, in any script, and do not require exactly two parts. (Evidence: Weak.)
- [One-time codes](https://uxreference.com/forms/one-time-code): Use one field that can be pasted into and filled automatically, and do not submit by itself. (Evidence: Moderate.)
- [Password creation](https://uxreference.com/forms/password-create): Require length, not character mixes, allow password managers, and offer a way to show the password. (Evidence: Moderate.)
- [Payment card](https://uxreference.com/forms/payment-card): Take the card number in one field, with or without spaces, and work out the card type yourself. (Evidence: Moderate.)
- [Phone number input](https://uxreference.com/forms/phone): Ask only if you will use it, take it in one field, and accept the number however it is written. (Evidence: Moderate.)
- [Placeholder text](https://uxreference.com/forms/placeholder): Do not use placeholder text as a label or for instructions. Put both outside the field. (Evidence: Moderate.)
- [Postal address](https://uxreference.com/forms/address): Offer an address lookup where the data is reliable, and always let people type the address by hand. (Evidence: Moderate.)
- [Preserving input after an error](https://uxreference.com/forms/preserve-input): Never make people type something twice. Keep what they entered through errors and back steps. (Evidence: Weak.)
- [Progress through steps](https://uxreference.com/forms/step-progress): In a flow of three or more steps, show the steps and where people are. Do not expect a progress bar to keep them going. (Evidence: Moderate.)
- [Required and optional fields](https://uxreference.com/forms/required-optional): Mark at each field whether it is required, and require only what the task cannot do without. (Evidence: Moderate.)
- [Saving and resuming](https://uxreference.com/forms/save-resume): When a form needs things people may have to go and find, let them save and come back. (Evidence: Moderate.)
- [Selects vs radios vs comboboxes](https://uxreference.com/forms/select-radio-combobox): Show a few options as radio buttons. For a long list, let people type. (Evidence: Moderate.)
- [Show password](https://uxreference.com/forms/password-show): Hide the password by default, with a control that shows it. (Evidence: Moderate.)
- [Single page vs multi-step](https://uxreference.com/forms/single-vs-multistep): Add a review step before anything that commits people, and use steps when questions branch. (Evidence: Weak.)
- [Sliders](https://uxreference.com/forms/slider): Use a slider only for rough values. For an exact value or a rating, use a typed field or radio buttons. (Evidence: Moderate.)
- [Stating format requirements](https://uxreference.com/forms/format-requirements): Remove format rules where you can. Where you cannot, state them before people type. (Evidence: Moderate.)
- [Submit button state](https://uxreference.com/forms/submit-state): Keep submit usable so it shows what is missing, and stop a second submission while the first is processing. (Evidence: Moderate.)
- [When to validate a form field](https://uxreference.com/forms/validation-timing): Check on submit, and do not show an error until people have finished the field. (Evidence: Moderate.)
- [ZIP and postal codes](https://uxreference.com/forms/postcode): Accept ZIP and postal codes however they are typed, and don’t require one where people may not have one that works. (Evidence: Weak.)
