SitePoint
Blog
Forum
Library
Login
Join Premium
Toggle sidebar
Form Design Patterns
Toggle community discussions
Close
Content
Bookmarks
Preface
Form Design Patterns
About The Author
Acknowledgements
Foreword
Introduction
1
A Registration Form
How It Might Look
Labels
Placeholders
Float Labels
The Question Protocol
Field Styling
The Email Field
The Password Field
Button Styles
Validation
Summary
Demos
A Checkout Form
One Thing Per Page
Flow and Order
Guest Checkout
1. Email Address
2. Mobile Phone
3. Delivery Address
4. Delivery Options
5. Delivery Notes
6. Payment
7. Review Page
8. Confirmation Page
The Second-Time Experience
Layout
Summary
Demos
A Flight Booking Form
1. Where to Fly
2. When to Fly
3. Choosing Passengers
4. Choosing a Flight
5. Choosing A Seat
Summary
Demos
A Login Form
A Standard Login Form
Username Label and Hint Text
Auto-Capitalization, Autocorrect and Spell-Checking
Password Field Design
Auto-Tabbing
Submit Button Text: Log In versus Sign In
The ‘Username or Password Doesn’t Match’ Problem
The Form in Context
Social Login
Summary
Demos
An Inbox
List Types
Marking Email for Action
Actioning Emails
A Responsive Menu
Select All
Success Messages
Summary
Demos
A Search Form
Search Everything
The Basic Form
There’s No Room
Toggling the Form’s Visibility
Displaying Search Results
Summary
Demos
A Filter Form
Interactive Filters versus Batch Filters
Layout
The Markup
Automatic Submission
Should We Just Change to Links?
Ajax
Users Might Not Notice the Results Update
Collapsible Filters
Script
Small-Screen Experience
Denoting Selected Filters
Summary
Demos
An Upload Form
A File Picker
A Multiple File Picker
A Persistent Upload Form
A Drag-and-Drop Enhancement
Other Considerations
Summary
Demos
An Expense Form
The Persistent Form Pattern (Again)
Branching with One Thing Per Page
The Add Another Pattern
Summary
Demos
A Really Long and Complicated Form
The Check Before You Start Pattern
The Task List Pattern
Summary
Open text modal
Community Questions
Close