Skip to content
tezvyn:

Forms

56 bites tagged Forms — interview questions with model answers, and 60-second explainers.

Growth & Experimentation2 min read

Setup Wizard: Guiding Users Through Complexity

A setup wizard turns a complex form into a simple, step-by-step conversation. It's ideal for infrequent but critical tasks like software installation, where the system determines the next best step. The footgun: A true wizard alters the user's *path*.

Flutter & Dart2 min read

Build Custom Inputs with Flutter's FormField Widget

FormField is a state wrapper, not a UI widget, that turns any widget into a validatable form input. Use it for custom inputs like sliders or star ratings that must integrate with a Form. The footgun is forgetting to supply the UI via its `builder`.

Flutter & Dart2 min read

FocusNode: Programmatically Managing Widget Focus

A FocusNode is your handle to a widget's focus state, letting you programmatically request focus or listen for changes. It's essential for forms, like moving focus from one TextField to the next.

Flutter & Dart2 min read

Flutter's Form Widget: Grouping and Validating Input

A Flutter `Form` acts as a supervisor for multiple input fields, letting you validate and save them all at once. Use it for login screens or user profiles. The footgun is forgetting the `GlobalKey`, which makes it impossible to trigger validation.

Design Systems2 min read

Form Layout Best Practices

Guide users with a clear visual path, not a maze. A single-column layout with consistent spacing creates a streamlined data entry experience. Use it for everything from contact forms to complex UIs.

Design Systems2 min read

Wizard/Stepper Pattern: Guide Users Through Complex Tasks

A wizard or stepper pattern is like a recipe for a complex task, breaking a long process into numbered, manageable steps. It's ideal for multi-stage forms like onboarding or checkout flows.

CSS & Design Systems2 min read

ElementInternals: Making Custom Elements Form-Friendly

ElementInternals lets your custom elements act like native form inputs, integrating with validation, submission, and labels. Use it for custom inputs in a design system. The footgun: forgetting to call `setFormValue()` means its state won't be submitted.

CSS & Design Systems2 min read

Form-Associated Custom Elements: Your Own Inputs

Make your custom elements behave like native inputs within a `<form>`. This lets them carry a value, be validated, and submit with the form. Use it for custom widgets like tag inputs. The footgun: its state won't submit if you don't call `setFormValue()`.

Get Forms bites daily.

Five a day, five minutes, offline. With quizzes so it sticks.

Open testing — you’ll join as an early tester.