What is autocomplete in input tag ? [Resolved]

Posted by Amatya under ASP.NET on 10/19/2016 | Points: 10 | Views : 365 | Status : [Member] | Replies : 4
What is autocomplete in input tag ? For security reason how to use it? If any other tips to improve the web based project then plz do suggest.

Thanks in advance.

Feel free to share informations 9731764134
mail Id ' adityagupta200@gmail.com
Thanks



Responses

Posted by: Sheonarayan on: 10/19/2016 [Administrator] HonoraryPlatinum | Points: 50

Up
1
Down

Resolved
AutoComplete is an attribute to the text box that is used by browser to save the typed text into the TextBox for quick entry of the data next time.

In case, autocomplete is on for the username, or account number or other personal infnormation text boxes it is easy to steal those data so for sensitive data fields, it is suggested to make autocomplete off.

If you want to disable it write autocomplete attribute to off like this
<input type="text" autocomplete="off" name="name1" />


Hope this helps.
Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Amatya, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Amatya on: 10/19/2016 [Member] Silver | Points: 25

Up
0
Down
Thanks Sir,
By default it is on or off?

Can i put in
<input type = "password" />

?

Feel free to share informations 9731764134
mail Id ' adityagupta200@gmail.com
Thanks

Amatya, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sheonarayan on: 10/20/2016 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
By default, It is on in most browsers.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Amatya, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Amatya on: 10/21/2016 [Member] Silver | Points: 25

Up
0
Down
I have kept
autocomplete = "off"
in login form for userneme as u suggested. Now I can do this for password textbox also?
Thanks in Advance Sir.

Feel free to share informations 9731764134
mail Id ' adityagupta200@gmail.com
Thanks

Amatya, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response