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

🐺 How to create a high impact press page.

Friday, February 14, 2025

͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏

#494: UX and Product Design

Friday, February 14, 2025

Redesigning complex navigation, product design process, UX in legacy systems, UX workshops with users. Issue #494 • Feb 11, 2025 • View in the browser Smashing Newsletter Halò Smashing Friends, How do

Nick Mafi on Capturing LA’s Loss

Friday, February 14, 2025

View in your browser | Update your preferences ADPro 77 Stories Shared As we watched the worst fires in Los Angeles history spread across the city, the editors at AD came together to discuss the

🐺 Content that Converts - the replay is up!

Friday, February 14, 2025

And everyone who joined loved it! ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

Designer or Couple’s Therapist?

Friday, February 14, 2025

View in your browser | Update your preferences ADPro Let's Make a Deal There's no shortage of spoils in the wonderfully eclectic Hudson Valley home of actor Walton Goggins and writer-director

178 / Visualize your dreams in 2025

Wednesday, January 15, 2025

Product Disrupt Logo Product Disrupt Half-Monthly Jan 2025 • Part 1 View in browser Welcome to Issue 178 Ever get curious about how this newsletter is doing? I shared the 2024 behind-the-scenes and

Mayer Rus on Loss, and Living, in LA

Tuesday, January 14, 2025

View in your browser | Update your preferences ADPro LA, I Love You Los Angeles has been my home for nearly 20 years, and the devastation here, now, is unfathomable. Entire neighborhoods have been

🐺 How to make a great first impression

Tuesday, January 14, 2025

With real examples. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

#490: Interface Design

Tuesday, January 14, 2025

How to design better interfaces, how to choose icons, optical effects, iconography, Gestalt principles and icon design. Issue #490 • Jan 14, 2025 • View in the browser Smashing Newsletter Buona

🐺LAST CHANCE to get 20%-off our PR Masterclass Series

Monday, January 13, 2025

Make 2025 your biggest press year yet. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏