/    Sign up×
Community /Pin to ProfileBookmark

orange text boxes?

On a Windows XP system why do some text boxes show up with an orange background instead of white.

to post a comment

11 Comments(s)

Copy linkTweet thisAlerts:
@ray326Dec 07.2006 — I think it has to do with auto fill.
Copy linkTweet thisAlerts:
@_Aerospace_Eng_Dec 07.2006 — More specifically the Google Toolbar.
Copy linkTweet thisAlerts:
@nbcrockettauthorDec 08.2006 — I've got quite a few webpages with forms and some are ok while others aren't. The ones that aren't have some text boxes with white backgrounds and some with orange backgrounds. The settings aren't different between the two.
Copy linkTweet thisAlerts:
@ray326Dec 08.2006 — Check the names.
Copy linkTweet thisAlerts:
@nbcrockettauthorDec 08.2006 — What about the names should I be looking for?
Copy linkTweet thisAlerts:
@Elmo3883Dec 09.2006 — The part with a ****ed up Color Code
Copy linkTweet thisAlerts:
@ray326Dec 09.2006 — The names of the inputs. Look for correlations between names and box color.
Copy linkTweet thisAlerts:
@nbcrockettauthorDec 10.2006 — There's no color assigned to these text boxes and their names are things like "txtPhone1" and "txtEmailAddress".
<input type="text" name="txtPhone1" size="3" maxlength="3" tabindex="5">
<input type="text" name="txtEmailAddress" size="25" maxlength="50" tabindex="11">
Copy linkTweet thisAlerts:
@_Aerospace_Eng_Dec 10.2006 — Because they have common phrases in them the toolbar tries to fill them. Things like name, email, phone are phrases the toolbar looks for. If it finds them it will highlight them. If you make the names of your inputs more unique then they won't get highlighted for example these won't get filled in
&lt;input type="text" name="txtPh1" size="3" maxlength="3" tabindex="5"&gt;
&lt;input type="text" name="txtEA" size="25" maxlength="50" tabindex="11"&gt;
Copy linkTweet thisAlerts:
@nbcrockettauthorDec 11.2006 — I use the same names on all my pages and different ones show up orange on other pages. If I go to another computer the ones that were orange on mine aren't on the other. Is it just a random fluke that it recoginizes these as common phrases? Is there a list anywhere that tells you what these common phrases are?


Help @nbcrockett spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.4,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ

legal: ({
terms: of use,
privacy: policy
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
recent_tips: (
tipper: @junehugh,
tipped: article
amount: 500 SATS,

tipper: @buildinteractive,
tipped: article
amount: 1000 SATS,

tipper: @farhadmalegam,
tipped: article
amount: 1000 SATS,