![]() | |
![]() |
| | Thread Tools | Display Modes |
#21
| |||
| |||
|
|
Adrienne Boswell wrote: Gazing into my crystal ball I observed Jeff <jeff (AT) spam_me_not (DOT) com writing innews:13quil41ko7r5ca (AT) corp (DOT) supernews.com: Aesthetics my boy. Edges should line up. Set a width for you form, either in % or pixels and the right edges should align. Just as the left do. That's poor usability, since the lengths of fields don't act as clues any more. * *Well, I don't understand how you could come the end of a textarea and not know you were there. Textareas don't have an end. *That's why there have been many client side scripts written to a) alert the user how many characters have been entered, b) stop the user from inputting anymore characters. * *Ah, I didn't know that's what we were talking about. Input on the other hand, is different. *If the author has put in maxlength="20" and size="50" (or styled it such), the user has no way of knowing the maximum length _before_ they start typing, the field just will not take anymore characters, and a) the user is confused b) the user has not noticed and has put in the wrong information. If I make a input element have maxlength, I set the size to be the same. I'm a little confused about the real value of a maxlength. I suppose it is to keep customers from entering beyond the database field size limit, but if you are not indexing on a field there's little reason not to make the field much larger. As far as textarea limits why set a limit at all, it's rare to index that at all so *there's little reason there not to put it into something like a mysql TEXT. * *Perhaps I'm missing something here. * *Now, who was talking about setting font-sizes on form fields, * I can't find the post now and that sounds interesting. If there is a textarea involved, say 50 cols, I usually set input element size to 50 also, so their widths are _about_ the same. *But, in that situation, if a field's length is 40 characters, then I still set the input element's size to 40 and maxlength to 40. * *Why the max length? I don't remember the last time I set that, so maybe I'm missing a design or useability consideration. * *Jeff Nah. |
#22
| |||
| |||
|
|
ÿ ÿWhy the max length? I don't remember the last time I set that, so maybe I'm missing a design or useability consideration. |
|
Nah. I would not use that eather. Unless you want to restrict what a user can place in the field (such as only allowing them to place number), in a field where you want them to place an amount. |
![]() |
| Thread Tools | |
| Display Modes | |
| |