pradapkumar
asked on
Autocompletetype property for Username TextBox
Hi Experts,
I am having Login web form in asp.net. In that i am having user name textbox and password textbox. Now I am in need to know what will be the autocomplete type setting for username textbox. Please Help guys.
I am having Login web form in asp.net. In that i am having user name textbox and password textbox. Now I am in need to know what will be the autocomplete type setting for username textbox. Please Help guys.
and if you like to enable auto complete you can do so by setting it "on"
autocomplete = "on"
autocomplete = "on"
If you look at the help for AutoCompleteType, there is a pretty good explanation:
http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.textbox.autocompletetype.aspx
Browsers support AutoComplete differently depending on the type of the <input> element. That property is an enumerated set of type options to control how the TextBox performs auto-completion.
Bob
http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.textbox.autocompletetype.aspx
Browsers support AutoComplete differently depending on the type of the <input> element. That property is an enumerated set of type options to control how the TextBox performs auto-completion.
Bob
ASKER
ok experts.
Now I want to know what will be the autocompletetype equivalent setting for username textbox.
which one : FirstName, LastName, DisplayName ???
Now I want to know what will be the autocompletetype equivalent setting for username textbox.
which one : FirstName, LastName, DisplayName ???
i m not understading your question.
AutoCompleteType doesn't cover the username autocomplete. That functionality can be achieved by the name of the <input> element.
Bob
Bob
ASKER
I want some more info on this <input> element's usage on username. Examples are appreciated.
Ok, the trick with that kind of request is finding the right Google expression (which I haven't found).
Here is something close (hope it helps):
input text field, no auto-fill please!!
http://www.codingforums.com/archive/index.php?t-53810.html
<Quote>Say l've got:
<input type="text" name="username" value="" size="10">
is there _anyway_ to prevent the text field from "auto-filling" itself</Quote>
Bob
Here is something close (hope it helps):
input text field, no auto-fill please!!
http://www.codingforums.com/archive/index.php?t-53810.html
<Quote>Say l've got:
<input type="text" name="username" value="" size="10">
is there _anyway_ to prevent the text field from "auto-filling" itself</Quote>
Bob
ASKER
dear learned one,
I don't want to "off" the auto complete setting. Instead of that I want it to display the login names in that autocomplete type setting of asp.net textbox.
what i want is the textbox should show the previously entered usernames in that textbox not only for my site. but for entire web.
for ex.
if a user tried to log in to his gmail account he will enter his username there. then after some other time he wish to log in into my web application that gmail username also should be displayed. So, that globally that texbox dipslays the usernames previously used by the user. thats all I want.
I don't want to "off" the auto complete setting. Instead of that I want it to display the login names in that autocomplete type setting of asp.net textbox.
what i want is the textbox should show the previously entered usernames in that textbox not only for my site. but for entire web.
for ex.
if a user tried to log in to his gmail account he will enter his username there. then after some other time he wish to log in into my web application that gmail username also should be displayed. So, that globally that texbox dipslays the usernames previously used by the user. thats all I want.
ASKER
what should be the equivalent autocompletetype setting to achieve the above said functionality?
firstname or lastname or displayname?
firstname or lastname or displayname?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Password :<input type="password" value="" name="password" autocomplete="off">