4 ms·
Random question: If the specially blessed form names for user signup is 'username' and 'new-password', what's the name of the field that's "password again" (for
by ROFISH 12y ago
Random question: If the specially blessed form names for user signup is 'username' and 'new-password', what's the name of the field that's "password again" (for typos)?
- melvinmt 12y agoI don't think autocomplete is supposed to work for fields that check typos?
- schrodinger 12y agoIt's necessary when you're letting safari generate a password for you. Safari needs to type in the same password twice.
- abritishguy 12y agoAutocomplete doesn't make typos so why shouldn't it work?
- melvinmt 12y agoBecause it defeats the purpose of the field that's checking for typos.
- abritishguy 12y agoAnd that purpose is obsolete when a computer is inputting the password.
- mightykan 12y agoAccording to the "Your App, Your Website, and Safari" WWDC session from this year [1] (Slide titled "Signing up with confirmation" towards the end of the document), you simply use the `current-password` or `new-password` autocomplete attribute again for confirmation of either field. [1] (Session PDF Link): http://devstreaming.apple.com/videos/wwdc/2014/506xxeo80e5kykp/506/506_ensuring_continuity_between_your_app_and_web_site.pdf?dl=1 http://devstreaming.apple.com/videos/wwdc/2014/506xxeo80e5ky...
- cordite 12y agoI was confused by your wording and checked the slides myself. For some reason I was convinced that these were name attribute values, not an `autocomplete` attribute.