Are there any guidelines/recommendations on how long the input fields should be on HTML forms. Specifically:
- Viewable length (the length of the input field the user can see on the screen - without having to scroll horizontally. i.e. SIZE, not MAXLENGTH)
- Capture length (the number of characters the HTML form will save to the database)
The viewable length could be short (20 characters), but does that frustrate users with slightly longer e-mail addresses?
The capture length could be set to 200 characters for all fields, but is that good practice? Would there be any disadvantages for this?
The common fields that I am thinking of are:
- Name
- Username
- Password
- E-mail address
- Users website address
- OpenID address
- Location (e.g. town and country)
Fields with known possible values (such as age, telephone number, country, manufacturer) can all be pre-judged so are not an issue.