Size: 1005
Comment:
|
Size: 1355
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 25: | Line 25: |
Pre-populated text... is just like user text, and can be edited. |
|
Line 31: | Line 33: |
hints in the field must be differentiated from actual content, such as by being gray and italics... hints in the field are not pre-populated, and disappear when focus is granted. when all content is removed (or none entered) and focus is removed, the hint appears again... |
Problem
A method must be provided for users to enter text and other character-based information without restriction.
Solution
*** Forms as a way to collect information in an ordered manner pre-date computing by at least a century. Many standards were developed in the paper form era, and have translated to computerized database forms, and then to web forms. The ubiquity of the web -- to software developers if not all users -- means forms for all computing types have settled on these standard input methods.
This pattern covers the text and textarea form methods.
Variations
Text - one-line
Textarea - multi-line
Interaction Details
immediate entry
cursor and focus...
enter is a linefeed on multi-line, submits forms or exits the field on single line
Pre-populated text... is just like user text, and can be edited.
Presentation Details
notes about input method and reference
field hints in the field, adjacent to the field, pros and cons of each
hints in the field must be differentiated from actual content, such as by being gray and italics...
hints in the field are not pre-populated, and disappear when focus is granted. when all content is removed (or none entered) and focus is removed, the hint appears again...
Antipatterns