Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Field length

From: Web Form Design Best Practices

Video: Field length

While labels ask the questions people need to answer in our forms and help and tips can help them along, it's actually the input fields that really provide the forms where people can provide their answers. So one of the ways we can help people along with what's an appropriate answer is by creating the right field length for our questions. Field lengths, when appropriately sized, help provide valuable cues about the type of answer that makes sense. When those field lengths are random, it really doesn't do much to assist people. Let's take a look at an example.

Field length

While labels ask the questions people need to answer in our forms and help and tips can help them along, it's actually the input fields that really provide the forms where people can provide their answers. So one of the ways we can help people along with what's an appropriate answer is by creating the right field length for our questions. Field lengths, when appropriately sized, help provide valuable cues about the type of answer that makes sense. When those field lengths are random, it really doesn't do much to assist people. Let's take a look at an example.

Here, the eBay registration form is using a lot of meaningful field lengths. What I mean by that is the ZIP Code is generally the size of a ZIP code, the Phone Number; three fields, three characters, three characters, four characters is exactly the size of an appropriate phone number. Every other input field, whether it's e-mail address, Create Password or Re-enter Password is a consistent size with enough room to enter a valid answer. There is not really a default size for how big your e-mail address should be as compared to your Password.

So these fields are exactly the same for some visual consistency. Note, however, they've all been made big enough for the input that was being provided. Let's see what happens when a form arbitrarily sizes every input field to the exact same length. Now we'll see here that First Name, Last Name, Address, and ZIP Code are all exactly the same size. However, there's been a bunch of help text added to the ZIP Code field letting people know that they should only enter five digits. This is because the input field doesn't have the right affordance.

You're not sure if you should use the five digit plus the dash (-) and additional four digit format of a ZIP code or if you should only supply five digits. As a result, the form has had to rely on input text. Contrast this to the eBay example we saw earlier where the right size of the input field help to guide people to what the input should be like. Here's another example. In this case, on tick, all the input fields seem to be sized arbitrarily. Should your company name to be significantly longer than the Web address you pick for tick, is your e-mail address really that much longer than your first name or last name? Of course, people might not necessarily ask all of these questions explicitly, but anytime you pause people and make them think about the types of answers they're providing, it's an opportunity for confusion.

Rather than using arbitrary field lengths, use meaningful ones and then provide enough room for every other one with the consistent lengths. WordPress, same question; my username is a significantly less than my e-mail address and man, that's a really long field for e-mail, probably better off to just make these the same size. Overall, field length best practices, when possible use field length as an affordance to help people answer questions accurately. Otherwise, just consider using a consistent length that gives people enough room to provide a valid answer.

Those two factors will help you guide people towards the right types of input into the fields you're providing for them.

Show transcript

This video is part of

Image for Web Form Design Best Practices
Web Form Design Best Practices

30 video lessons · 12232 viewers

Luke Wroblewski
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Web Form Design Best Practices.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.