Front Pit--form article

Source: Internet
Author: User

First, close Firefox automatic form filling

<autocomplete= "Off"/>

Firefox browser will be based on the history of filling out the form of automatic completion such as radio button, check box, and will make the code set in the Checked= "checked" This default selection is not valid, and sometimes even JS modification does not work, which will give us a lot of inconvenience of development. As a result, a form with a program default setting value is recommended to add autocomplete= "off"

Second, turn off the phone-side input box first letter capital

<type= "text"  autocapitalize= "Off"  placeholder  = "User name-close capitalize">

In IOS, the user can manually turn on the "capitalize automatically" feature so that when you enter English, the initials are automatically capitalized. However, there are times when you do not want to always capitalize the initial letter. For example, the User name field, if the field itself is case-sensitive, the initial automatic capitalization will often cause trouble to the user. You can turn off by setting autocapitalize= "off" on the form element.

Front Pit--form article

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: 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.