Closed Bug 268586 Opened 20 years ago Closed 20 years ago

fields should be capitalized as search button is pressed

Categories

(Firefox :: General, enhancement)

x86
Windows 2000
enhancement
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: aaron.s.low, Assigned: bugs)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

as it stands, when text is entered into the Document ID field or Title field and
'enter' is pressed on the keyboard, text is not capitalized.  However, it is
capitalized when the field is manually exited by clicking elsewhere or by
clicking 'search'.

Reproducible: Always
Steps to Reproduce:
1.type text in field (document id or title)
2.press 'enter' on keyboard
3.

Actual Results:  
search engine is case sensitive, therefore lowercase querey results in no search
results

Expected Results:  
capitalize search string and submit querey when 'enter' is pressed
It is likely that this request breaks some internet standard. This is likely to
get resloved as Wontfix or Invalid.
Severity: minor → enhancement
The code only uses onblur="this.value=this.value.toUpperCase()".
onblur means "when it loses focus either by the pointing device or by tabbing
navigation":
http://www.w3.org/TR/REC-html40/interact/scripts.html#h-18.2.3

If you want to do the same when the form is submitted, you need to use the
"onsubmit" handler. There's already an onsubmit handler attached to the form
tag, but that only says "onsubmit="return _CF_checkCFForm_1(this)".

So Firefox treats this site as intended by the author.
-> INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
--> Websites :: www.mozilla.com so timeless can close out Firefox :: Product Site.
Component: Product Site → www.mozilla.com
Product: Firefox → Websites
-> Firefox::General (939393)
Component: www.mozilla.com → General
Product: Websites → Firefox
You need to log in before you can comment on or make changes to this bug.