Seilevel
Seilevel Home
Back to Blog Home - Requirements Defined

Thursday, February 19, 2009

No field length guidelines

I found myself last year working on a UI heavy project, in which we were specifying detailed requirements associated with individual UI elements.  One of the elements that the customer wanted to define were the field lengths for when users enter text.  This text might include street address, city name, zip codes, etc.

Seems simple.

I'll just go look up the standard lengths for such things.

Except there aren't any.

I sent Emails out to friends of mine who specialize in information management, and got a common theme back.  No standards.  All pointed me to a book by Luke Wroblewski called Web Form Design.  Unfortunately, this simply contained some general guidelines.

We chatted a bit about why these standards don't exist, and came up with several possibilities:

1.  Database design is being done first, and once field lengths are set in the database, that becomes a technical constraint on the UI.
2.  Arbitrarily large limits are set in order to make sure that fields of "any" length can be handled (allocating 255 characters for last name is PROBABLY sufficient, right?).
3.  Good standards aren't really possibly, due to localization issues.

The reality is that all three have led us to where we are today.

Anybody want to write a standard?
Requirements Defined Newsletter Bookmark and Share

2 Comments:

Anonymous Anonymous said...

Have you checked Open Application Group Integration Specification (OAGIS)? They define standards for many common objects and data elements. May be a good place to start.

2/26/2009 8:07 PM  
Blogger James said...

This reminds me of a project I worked on where I was trying to define requirements for how a fax system should or should not dial an area code, prefix, etc. Even with something as simple as a local phone number, there are so many variations across localities that it made it impossible to predict how a person would dial a fax number from one locality and have it end up successfully in even the same locality. I researched as to whether there were such standards for dialing numbers within localities, hoping then to generalize across localities. The short answer is that the standards differ by locality and are nearly impossible to codify, at least in this particular case.

3/02/2009 1:55 PM  

Post a Comment

<< Home