Go Back   TechArena Community > Technology > Technology & Internet
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Disable yellow autocomplete form field

Technology & Internet


Reply
 
Thread Tools Search this Thread
  #1  
Old 06-08-2009
Member
 
Join Date: Jul 2009
Posts: 43
Disable yellow autocomplete form field

Many times while surfing on the internet, i come across some fields that becomes yellow in the forms that i need to fill up. For example, when i go to the login page of Gmail, the userID field always shown in yellow color. I just want to disable this yellow auto complete form fields. Please help me. How to do so ?
Reply With Quote
  #2  
Old 06-08-2009
Maq.H's Avatar
Member
 
Join Date: May 2009
Posts: 389
Re: Disable yellow autocomplete form field

Most probably those autocomplete yellow fields are cause of Google Toolbar.On the toolbar there is an “auto fill” option. This tells the user that they can use this option to auto fill certain fields on your form. That will 'helpfully' highlight form fields with certain names such as 'email' or 'name'. Simple just uninstall the Google Toolbar to fix this problem.

In case you need Google toolbar and don't want those yellow fields than alternatively go to Settings of the Toolbar and select Options. Now go to Autofill and click the “Autofill Settings”. Now just uncheck the box that is in front of 'Highlight fields' at the bottom. Thats it..
Reply With Quote
  #3  
Old 06-08-2009
Trio's Avatar
Member
 
Join Date: May 2008
Posts: 1,548
Re: Disable yellow autocomplete form field

This is a feature of Google Toolbar that it automatically highlights the fields (e.g. name, email etc.) in the yellow background color which facilitate the user to autocomplete the specified field.Any code used to set the background color of textbox will fail in following conditions (regardless of run time or design time):
  • Specifying BackColor
  • Specifying background-color in CSS or Style attribute.

The one and only perfect way to do is :
  • Specify a CSS class for the textbox, e.g.

Quote:
.txtNameStyle

{

font-size:12px;

height:13px;

border-style:none;

background-color: #666666 !important;

color:#ffffff;

}
  • Now declare the text box control so that it looks like this :
Quote:
<asp:TextBox ID=”txtName” runat=”server” CssClass=”txtNameStyle” Width=”219px”></asp:TextBox>

Source: dotnetcoderoom
Reply With Quote
  #4  
Old 06-08-2009
deveritt's Avatar
Member
 
Join Date: Apr 2008
Posts: 1,382
Re: Disable yellow autocomplete form field

The fields become yellow due to the Auto Fill option of Google toolbar. To know how to disable yellow color, see this:-

Form fields become yellow in Firefox
Reply With Quote
Reply

  TechArena Community > Technology > Technology & Internet


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads for: "Disable yellow autocomplete form field"
Thread Thread Starter Forum Replies Last Post
How to validate form field before execution of a servlet service method Quattro Portable Devices 3 11-09-2009 03:28 PM
Form fields become yellow in Firefox Caiden Technology & Internet 3 29-07-2009 12:00 AM
How to Disable AutoComplete in Firefox ? mati Windows Software 9 29-03-2009 02:29 AM
To access a text field from another form Sanket07 Software Development 6 06-02-2009 06:42 PM
Disable cell validation on form DataGridView Chandrakant81 Software Development 3 06-02-2009 05:52 PM


All times are GMT +5.5. The time now is 02:47 AM.