text box does not save input records

Source: Internet
Author: User

text box does not save input records

------》》》》

Set the input tag to: autocomplete= "Off"

If all form elements do not want to use the auto-prompt feature, simply set autocomplete= "off" on the form form.
<form autocomplete= "Off" >
<input type= "text" name= "name" >
<input type= "text" name= "password" >
</form>

Server control:

The ASP. NET TextBox control also provides the AutoCompleteType property, which provides the enhanced version of AutoComplete. Not only can you turn automatic prompts on and off, but you can also automatically prompt by type. As soon as you set the TextBox's AutoCompleteType to "Disable", the AutoComplete prompt does not appear at all.
<asp:textbox id= "txtUserName" runat= "Server" autocompletetype= "Disabled" width= "150px" ></asp:TextBox>
AutoCompleteType is an enumeration type with all of its supporting projects as follows:

Member name Description
Businesscity Office Address City category.
Businesscountryregion the country/region in which the office address is located.
Businessfax the fax Number category of the office address.
Businessphone the phone number category of the office address.
Businessstate Office Address State category.
Businessstreetaddress the street category where the office address is located.
Businessurl the URL category of the business Web site.
Businesszipcode The postal Code category of the office address.
Cellular mobile phone number category.
Company Enterprise name category.
Department the sectoral categories within the enterprise.
Disabled disables auto-completion for TextBox controls.
DisplayName The name category that is displayed for the user.
Email user's e-mail address category.
FirstName User name category.
Gender User Gender category.
Homecity the city category where the home address is located.
Homecountryregion the country/region in which the home address is located.
Homefax the fax number category for the home address.
The URL category of the homepage site.
HomePhone the phone number category for the home address.
Homestate the state category in which the home address resides.
Homestreetaddress the street category where the home address is located.
Homezipcode The postal Code category of the home address.
JobTitle the job category of the user.
LastName the last name category of the user.
The middle name category of the MiddleName user.
None is associated with a TextBox control without any categories. All TextBox controls with the same ID share the same value list.
Any supplemental information that Notes wants to include in the form category.
Office Business Office Location category.
Pager Pager Number category.
Search searches for a keyword category for a Web page or Web site.

text box does not save input records

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.