Nov 27, 2014
These parts of form has 2 important things.
name and autocomplete attribute provide hint for autocomplete.
If you put appropriate value in
autocomplete these may be hint for autocomplete.
It’s helpful for mobile user to input payment data (e.g. card number)
You can check
autocomplete value in
whatwg specification. (this specification is extended from that of W3C)
Auto-complete only works when the form method is post.
- user click button to call autocomplete.
- browser show dialog to input card and address information.
- after save it, information you need is inputed automatically from saved data.
- if this is second visit you only select data from dialog.
- you meet to call
.requestAutocomplete() need to be called from user action. (e.g. click)
- you have to check
whatwg specification about autocomplete value. browser input data automatically by the reference autocomplete value.