I am developing an ASP.Net 4.0 application. There are many input fields in one web form.
In one of the input fields there is
<asp:TextBox ID="InputStu1LastName" runat="server" OnTextChanged="InputStu1LastName_TextChanged" AutoPostBack="true" AutoCompleteType="None" TextMode="SingleLine" ></asp:TextBox>
I deployed this to a web server that resides on my machine, so others can do testing before deployment.
When I click the submit button, Firefox always asked me
"Do you want to remember the abcd password on this machine ??
abcd is actually the input value I entered in the InputStu1LastName field
I understand that the default text box for Textbox is SingleLine. In general, I didn’t even have this. As Firefox continues to think this is a password text field, so I added this atrirbute and I still have this message.
I used firebug to troubleshoot and did not find anything. Inspector indicator, which is another regular text field, but not a password input field. I even changed the code to like it
<asp:TextBox ID="InputStu1LastName" runat="server" ></asp:TextBox>
I'm still getting a message
This is the only text field that Firefox considers to be a password field.
I have other fields like InputStu2LastName, InputStu3LastName, etc. The funny thing is that they are all cloned from InputStu1LastName
Also, when my boss is testing my application on his computer, use Chrome, it is pre-populated with a username. Chrome considers the field to be a username field
Any trick to fix the problem?
Thanks for any advice.
This is the html markup after rendering
<input name="ctl00$ContentPlaceHolder1$InputStu1LastName" maxlength="50" onchange="javascript:setTimeout('__doPostBack(\'ctl00$ContentPlaceHolder1$InputStu1LastName\',\'\')', 0)" onkeypress="if (WebForm_TextBoxKeyHandler(event) == false) return false;" id="ctl00_ContentPlaceHolder1_InputStu1LastName" class="validate[required]" type="text">
, , , maxlength,
, , .