Is there a naming convention for HTML form fields for good auto completion across all modern browsers?

前端 未结 1 2008
误落风尘
误落风尘 2021-02-14 01:20

Is there a naming convention for form fields? For what fields do Chrome, IE, Firefox look for? I mean, one for all, or at least most of the modern browsers.

I stumbled u

相关标签:
1条回答
  • 2021-02-14 01:33

    You seem to have linked to the answers. If you are not using high-level frameworks like CakePHP or Ruby on Rails, though, the first and third links do not apply.

    The thing is, it's Google Toolbar and Wand's job to fill out forms successfully. Given the scope of the internet, the toolbar must have tons of redundancy.

    Therefore, as long as you keep your form fields semanticly named, the form should autofill.

    ECML is E-Commerce Modeling Language. Ecom_ simply stands for E-Commerce. If you need to sell stuff, use that naming convention.

    0 讨论(0)
提交回复
热议问题