On *certain* fields in my rails forms the backgrounds are yellow. If I check the page source there is no clue as to why. However, if I *save* the page to disk and then open it in a text editor I can see that the affected fields are like: <input style="background-color: rgb(255, 255, 160);" id="contact_first_name" name="contact[first_name]" size="30" value="Tim" type="text"> How/Why are some of these appearing like this? It only seems to happen in Firefox, not Internet Explorer so perhaps it''s some browser "feature". But what are the rules? Why only some fields? Baffled... Ed W
>On *certain* fields in my rails forms the backgrounds are yellow. If I >check the page source there is no clue as to why. However, if I *save* >the page to disk and then open it in a text editor I can see that the >affected fields are like:><input style="background-color: rgb(255, 255, 160);" >id="contact_first_name" name="contact[first_name]" size="30" value="Tim" >.type="text">>How/Why are some of these appearing like this? It only seems to happen >in Firefox, not Internet Explorer so perhaps it''s some browser >"feature". But what are the rules? Why only some fields?>Baffled...>Ed WSomething to do with the Google toolbar? See http://www.htmldog.com/ptg/archives/000017.php Chris Sendall University of Cambridge, UK
Ed--- I may be mistaken, but if you have the Google Search Bar for Firefox installed, then you have an option that is AutoFill. This is the ability for Google to automatically fill in fields they find on a form with your personal information. The reason only certain fields are yellow is because the AutoFill function looks for "typical" id names for the fields in the given form. For example, address, city, state, etc. I bet that is what is you are seeing. ~d On 12/21/05, Ed W <lists-XJavvHiACVh0ubjbjo6WXg@public.gmane.org> wrote:> > On *certain* fields in my rails forms the backgrounds are yellow. If I > check the page source there is no clue as to why. However, if I *save* > the page to disk and then open it in a text editor I can see that the > affected fields are like: > > <input style="background-color: rgb(255, 255, 160);" > id="contact_first_name" name="contact[first_name]" size="30" value="Tim" > type="text"> > > How/Why are some of these appearing like this? It only seems to happen > in Firefox, not Internet Explorer so perhaps it''s some browser > "feature". But what are the rules? Why only some fields? > > Baffled... > > Ed W > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
sounds to me like an auto form filler...do you have google toolbar extension installed? On 12/21/05, Ed W <lists-XJavvHiACVh0ubjbjo6WXg@public.gmane.org> wrote:> > On *certain* fields in my rails forms the backgrounds are yellow. If I > check the page source there is no clue as to why. However, if I *save* > the page to disk and then open it in a text editor I can see that the > affected fields are like: > > <input style="background-color: rgb(255, 255, 160);" > id="contact_first_name" name="contact[first_name]" size="30" value="Tim" > type="text"> > > How/Why are some of these appearing like this? It only seems to happen > in Firefox, not Internet Explorer so perhaps it''s some browser > "feature". But what are the rules? Why only some fields? > > Baffled... > > Ed W > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails