Smashing Magazine - #484: Web Forms

Live validation UX, form design layout and interaction, placeholders, segmented controls, names, required and optional fields, measuring forms UX. Issue #484 Nov 26, 2024 View in the browser

Smashing Newsletter

Hej Smashing Friends,

Forms are the cornerstone of interactions on the web. We’ve been designing them for decades now, so we should be pretty good in helping people smoothly run through the form flows, quickly recover from mistakes and get tasks done, swiftly and precisely.

Unfortunately, most of the time it’s not quite like that. Too many forms are broken, inaccessible and difficult to use. Sometimes with confusing labels and error messages, or aggressive live validation, or horrendous fire hydrant and traffic light puzzles.

And sometimes you might be told that your name is “wrong”, or that your address is “invalid” — although it is most certainly your name, and you’ve been living at that address for the last decade! In this newsletter, we look at some of the challenges around web forms, and how to improve web forms UX.

Bundle up and save. Save more when you bundle Smashing stuff.
Get ready for 2025 with your very own custom bundles, Browse all Smashing Books →

P.S. You’ll also find plenty of insights around design patterns for data tables and filters in our friendly video course on UX, Smart Interface Design Patterns, updated yearly. Use the coupon code IMPACT to save 20% off today.

Also, it’s your last chance to get friendly pricing on Smashing books (eBooks included, of course!) and online workshops to boost your skills and dive deep into front-end & UX challenges. Let’s bundle up and save!

Let’s finish 2024 with new insights and optimism!
Vitaly


1. Form Design From Zero To Hero

Whether a user wants to renew their passport, send an email, or buy something, every meaningful interaction on the web is achieved with the help of a form of some sort. And while a form might seem like an easy thing to design at first glance, there are quite some pitfalls and usability issues to watch out for.

Form design: from zero to hero all in one blog post

To help us design forms that everyone can use and complete as quickly as possible, Adam Silver compiled tips and resources for good form design. The guide doesn’t cover new and innovative ways to design forms but is rather a fantastic entry point to save you time on the basics. With lots of links to further reading resources covering everything from labels and microcopy to form validation and choosing the right input type, you might want to keep it close for future reference. (cm)


2. Live Validation UX

Live validation in a web form is useful, but the costs can be quite high when it fails. How can we do better? How can we implement validation that is helpful for the user while avoiding unnecessary distractions? Vitaly wrote an in-depth guide to live validation UX in which he explores the many faces of live validation, its problems, and its strengths.

A Complete Guide To Live Validation UX

For a smooth validation experience, Vitaly recommends using just-in-time validation, with a reward-early-punish-late pattern, and validating input on submit. By doing so, you avoid unnecessary distractions, complex logic, and layout shifts, and communicate errors without annoying users too early or too late. As a result, error recovery speed will certainly be slower, but the number of errors might be lower as well. (cm)


3. Placeholders In Forms

We’ve all come across forms where the hint or even the form label is placed directly inside the form field. And while the design decision saves space and has a nice minimal aesthetic, it can hurt usability more than aid it.

Placeholders in Form Fields Are Harmful

Katie Sherwin from the Nielsen Norman Group argues that placeholder text within a form field makes it difficult for people to remember what information belongs in a field and to check for and fix errors. She recommends floating labels as a better and more accessible alternative.

Daniel Berryhill also makes a stand against using placeholders in text boxes. He summarized why they are problematic and what we can do instead to make crucial and helpful information always visible. (cm)


4. Upcoming Workshops and Conferences

That’s right! We run online workshops on frontend and design, be it accessibility, performance, or design patterns. In fact, we have a couple of workshops coming up soon, and we thought that, you know, you might want to join in as well.

Smashing Online Events
With online workshops, we aim to give you the same experience and access to experts as in an in-person workshop from wherever you are.

As always, here’s a quick overview:


5. Better Segmented Controls

How do you choose which input type or component to use for a particular input? When is it a good idea to use a checkbox, and when might a radio button be the better option? And what about segmented controls and tabs?

A Better Segmented Control

In her case study “A better segmented control”, Runi Goswami, product designer on the Lyft team, describes the struggles the team went through when designing a segmented control, and how they ended up with a form selection flow chart as a result. A handy little helper to take away the guesswork and align decision-making across a team. (cm)


From our sponsor

😘 Kiss Bugs Goodbye

QA Wolf
QA Wolf delivers 80% automated test coverage in weeks, not years. Transform your QA with our AI-native service and see faster releases. Discover the QA Wolf advantage!


6. False Assumptions About Names

Have you ever had a form tell you that your name has invalid characters or that it contains errors? Our names are central to our identities, so when a form suspects an error in a name, it’s as if it doubts the person exists. So how can we prevent our users from what is probably the most frustrating experience they can possibly encounter?

Falsehoods Programmers Believe About Names

Having lived in Japan for several years, Patrick McKenzie knows from experience what it is like when a system breaks as soon as he enters his name. To help developers ensure the forms and systems they create allow all names, he wrote a list of 40 wrong assumptions to watch out for. A good foundation whenever you write a system that touches names. (cm)


7. Recent Smashing Articles


That’s All, Folks!

Thank you so much for reading and for your support in helping us keep the web dev and design community strong with our newsletter. See you next time!


This newsletter issue was written and edited by Cosima Mielke (cm), Vitaly Friedman (vf) and Iris Lješnjanin (il).


Sent to truly smashing readers via Mailchimp.
We sincerely appreciate your kind support. You
rock.

Follow us on Twitter Join us on Facebook

unsubscribe update preferences view in your browser

Older messages

#483: UX Writing

Tuesday, November 19, 2024

With writing guides, content testing and practical guides for better content design. Issue #483 • Nov 19, 2024 • View in the browser Smashing Newsletter Hej Smashing Friends, Every digital product

#482: New Front-End Techniques

Tuesday, November 12, 2024

With high-definition colors, virtual keyboard on mobile, CSS and reliable dialog in HTML. Issue #482 • Nov 12, 2024 • View in the browser Smashing Newsletter Hej Smashing Friends, I remember the good

#481: Front-End Techniques

Tuesday, November 5, 2024

With text balancing, exclusive accordions, CSS-only validation, responsive video and audio. Issue #481 • Nov 5, 2024 • View in the browser Smashing Newsletter Hej Smashing Friends, As we keep searching

#480: Design & UX Gems

Tuesday, October 29, 2024

Exploring fluid ways to interact with users, interactive cursors, common mistakes in software architecture and inspiring principles from nature. Issue #480 • Oct 29, 2024 • View in the browser Smashing

#479: New Front-End Adventures In 2025

Tuesday, October 22, 2024

CSS style queries, auto field-sizing for forms, simpler snapping, anchor positioning, smooth transitions with View Transitions API. Issue #479 • Oct 22, 2024 • View in the browser Smashing Newsletter

You Might Also Like

New Updates and a Sneak Peek into 2025

Tuesday, January 7, 2025

Both our email builder and website builder are getting significant upgrades to enhance your experience.͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌

🐺Get ready to get press in 2025!

Tuesday, January 7, 2025

Since you asked, we extended the sale! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Accessibility Weekly #430: FTC Orders AccessiBe to Pay $1M

Monday, January 6, 2025

January 6, 2025 • Issue #430 View this issue online or browse the full issue archive. Featured: FTC orders AI accessibility startup AccessiBe to pay $1M for misleading advertising "The US Federal

Getting ready for 2025

Sunday, January 5, 2025

Issue 227: Key focuses in the new year ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Want to Scale Your Firm in 2025? Start Here

Thursday, January 2, 2025

View in your browser | Update your preferences ADPro Build Your Best Team Yet A new calendar year presents an opportunity to wipe the slate clean, and your approach, whether slapdash or carefully

Our Must-Reads of 2024

Tuesday, December 31, 2024

View in your browser | Update your preferences ADPro Year in Review Well, we made it. It's the last day of 2024, so today, we're taking a walk down memory lane to bring you some of our

Accessibility Weekly #429: Broken Frames

Monday, December 30, 2024

December 30, 2024 • Issue #429 View this issue online or browse the full issue archive. Featured: Navigating imperfect accessibility frameworks for trauma-informed outcomes "So what is it then? Am

Top issues from 2024

Sunday, December 29, 2024

Issue 226: Looking back at the most resonating topics ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

At Home With Gloria Steinem

Thursday, December 26, 2024

View in your browser | Update your preferences ADPro Glory, Gloria Every year our AD100 honorees fill out a survey of projects that they're working on. A year or so ago, longtime AD100 designer

Celeb Homes at the Holidays—and a Few More Things to Make You Merry

Tuesday, December 24, 2024

View in your browser | Update your preferences ADPro Holiday Cheer Whether your taste leans traditional, modern, or all-out extravagant, AD is rife with inspiration for your holiday. In the spirit of