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?

Filed Under

  • Usability, Web Design

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. sleepeasy says:
    5/4/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. Jeff Moore says:
    5/5/2004 at 1:06 pm

    How about UK? :)

  3. Harry Fuecks says:
    5/7/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

Click here to cancel 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

    Subscribe Feed
    Share Subscribe to this blog…
    Share Bookmark or share this page…
  • About

    My name is Jeff Moore. I'm a PHP programmer living in San Francico and working for a startup.

    More about me…

  • Categories (Home)

    • Agile Methods (14)
    • Mac (14)
    • Misc (17)
    • Open Source (14)
    • PHP (98)
    • Software Design (29)
    • Usability (14)
    • Web Design (20)
  • Recent Comments

    • Programming Language Trends via Google  19
      Craigslist pva, jessica, Scott [...]
    • Looking Towards the Cloud  35
      bentonville multiple listing, cosmetic dental, Sam Brodish [...]
    • PHP versus ASP  8
      Marhta Blight, Ravi, Ryan Brooks [...]
    • How to Transfer Mac OS X Application Data between Computers  59
      Website Migration, harry the computer support guy, Dotty Salvage [...]
    • Working with PHP 5 in Mac OS X 10.5 (Leopard)  157
      lehuuphuc, Robert Parthemer, Lingerie Intimate [...]
    • PHP Games  25
      jessica, Tennille Cranor at Chilli Plants, Lucas Ortell [...]
    • un-PEAR-ing  5
      jessica, Eugene Panin, Arnaud [...]
    • The Legality of Republishing RSS Feeds  23
      kevinxiao, Marissa Miscovich, Quick Student Loans [...]
    • Faster Page Loading  4
      jessica, angular cheilitis, Aaron Rosenfeld [...]
    • PDO versus MDB2  15
      jessica, kevinxiao, Gavin [...]
  • Recent Posts

    • ZendCon: Writing Maintainable PHP Code
    • Looking Towards the Cloud
    • Holiday Tech Support
    • Closures are coming to PHP
    • 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)
  • Site

    • Archives
    • Log in
  • Search