Professional PHP

PHP Programming, Web Development, PHP Advocacy and PHP Best Practices.
« Decline of Google
API Design »

Sometimes Plain Text is Best

May 4th, 2004

Boing Boing featured a drop down from hell last week. Is a mega enumeration like this really necessary? Why not use a simple text field?

I find drop down boxes with years to be one of the saddest examples of enumeration overkill. I can type my birth date far faster than I can select it from a scrolling drop down crammed full of a hundred years. States are almost as bad. I’ll take a two letter MI in a text field against a fifty element select tag any day. I can type USA pretty fast, too. I bet most people can type their address elements pretty quickly if their browser autofill doesn’t beat them to it.

Don Norman includes Microsoft Outlook date handling in his cavalcade of good design for its ability to parse dates from arbitrary text.

In the comments to Building the Recipe Web, Troy Hakala talks about their efforts to natural language parse recipes for the recipezar site:

We (Recipezaar) wrote a natural language recipe parser to make this possible and it?s a difficult job. It took us 3 years to write it! Recipes are far more complicated than you might think, believe it or not. And a natural language recipe parser is not trivial software, which is why no other recipe web site has done this except for Recipezaar.

Text field parsing: harder to program, better for users?

categories Usability, Web Design
tags Usability

Related Posts

  • Knocked off the internet, a story of Windows and Macintosh
  • Writing an XPath expression evaluator
  • Mac Mini and PHP
  • Sarah Snow Stever
  • Exceptional PHP
You can leave a response, or trackback from your own site.

3 Responses to “Sometimes Plain Text is Best”

  1. #1 sleepeasy responds...
    May 4th, 2004 at 9:45 pm

    I’m not sure whether all users can type their country as fast as you or I - I know it would take my mum at least a minute to type “United Kingdom” :)

    Also, if you have a drop down list the user knows instantly that they have to select an item from the list, whereas if they’re shown a text field they may fret over what format they have to type their date of birth, state, phone number, etc. in. That BA drop down list is a bit overkill, IMHO a drop down list should have a maximum of (approximately) 15 entries for it to be of any advantage to the user, any more than that causes the the user to actively search the list for the item they want, as opposed to just spotting it more-or-less straight away.

    Interesting post, thanks.

  2. #2 Jeff Moore responds...
    May 5th, 2004 at 1:06 pm

    How about UK? :)

  3. #3 Harry Fuecks responds...
    May 7th, 2004 at 12:20 am

    Agree - think it is possible to do better with an input text field and some Javascript. That’s the idea behind the WACT InputAutoCompleteTag ;)

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

code: use [code=php][/code].

Comment Preview

  • Search

  • Subscribe

    Subscribe All Posts
    Subscribe All Comments
    Subscribe All Bookmarks
    Subscribe with Bloglines Subscribe with My Yahoo Add to netvibes Subscribe in NewsGator Online Add to Google
  • Share This

  • Categories (Home)

    • Agile Methods (14)
    • Mac (14)
    • Misc (16)
    • Open Source (14)
    • PHP (95)
    • Software Design (28)
    • Usability (14)
    • WACT (7)
    • Web Design (20)
  • Recent Comments

    • Sarah Snow Stever  26
      Massimo, arabcrunch, Dubai Web Design, Development [...]
    • The PHP scalability saga continues  17
      vaginal, uceqlehwigi, panties [...]
    • Keywords and Language Simplicity  9
      Programmer, cfbow, olmse [...]
    • PHP 5.1 is out  8
      Preteen, Soma, teedattaltY [...]
    • goto in PHP  39
      jistanidiot, Goldilocks, [...]
    • Working with PHP 5 in Mac OS X 10.5 (Leopard)  105
      Massimo, jitesh Shetty, Jesse [...]
    • WordPress BBCode Plugin  24
      ?????? ??, ?????? ??, smolenskiy [...]
    • Why is PHP Popular?  24
      art.ru, agened.ru, visasim.ru [...]
    • nofollow and comment spam  7
      Pwhndvve, Massa, che spavento, Scopmazo [...]
    • Why is PHP Code Considered Hard to Maintain?  25
      bez-riska.ru, Visitor338, Cody [...]
    • PHP Scalability and Performance  7
      youporn, kvz, John Loehrer [...]
  • Pages

    • Tags
  • Recent Posts

    • php | tek Wrapup
    • php | tek 2008
    • Sarah Snow Stever
    • Benchmarking PHP’s Magic Methods
    • The Endpoints of the Scale of Stupidity on Video
    • Working with PHP 5 in Mac OS X 10.5 (Leopard)
    • Keywords and Language Simplicity
    • Improved Error Messages in PHP 5
    • Michigan Taxes Graphic Design Services
    • Ruby versus PHP or There and Back Again
  • Archives

    • 2008: May
    • 2007: Jan Feb Mar Apr May Sep Oct Nov
    • 2006: Jan Feb Mar Apr May Jun Jul Oct Nov Dec
    • 2005: Jan Feb Mar Apr May Sep Oct Nov Dec
    • 2004: Apr May Jun Jul Aug Sep Oct Nov
  • Menu

    • Register
    • Log in