Results 1 to 4 of 4

Thread: Disable yellow autocomplete form field

  1. #1
    Join Date
    Jul 2009
    Posts
    1,179

    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 ?

  2. #2
    Join Date
    May 2009
    Posts
    1,611

    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..

  3. #3
    Join Date
    May 2008
    Posts
    2,792

    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.


    .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 :

    <asp:TextBox ID=”txtName” runat=”server” CssClass=”txtNameStyle” Width=”219px”></asp:TextBox>

    Source: dotnetcoderoom

  4. #4
    Join Date
    Apr 2008
    Posts
    2,572

    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

Similar Threads

  1. How do I disable autocomplete Opera 11.1
    By Kiran25 in forum Technology & Internet
    Replies: 8
    Last Post: 19-09-2011, 08:37 PM
  2. Date field in HTML form
    By Messenger in forum Software Development
    Replies: 6
    Last Post: 29-07-2010, 10:30 AM
  3. Form fields become yellow in Firefox
    By Caiden in forum Technology & Internet
    Replies: 3
    Last Post: 29-07-2009, 12:00 AM
  4. How to Disable AutoComplete in Firefox ?
    By mati in forum Windows Software
    Replies: 9
    Last Post: 29-03-2009, 02:29 AM
  5. To access a text field from another form
    By Sanket07 in forum Software Development
    Replies: 6
    Last Post: 06-02-2009, 06:42 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,581,963.02354 seconds with 17 queries