- From: Aryeh Gregor <ayg@aryeh.name>
- Date: Thu, 26 Jul 2012 11:59:31 +0300
- To: whatwg@lists.whatwg.org, whatwg <whatwg@whatwg.org>
On Thu, Jul 26, 2012 at 11:52 AM, Smylers <Smylers@stripey.com> wrote: > Perhaps specifying certain autocomplete types could set defaults for > pattern and inputmode? So for this example autocomplete=cc-num would, if > pattern isn't specified, imply pattern=\d{16}, and equivalently for > inputmode? That would be surprising, because autocomplete is just a hint, while pattern doesn't allow form submission if it's not met. Also, I couldn't swear to you that all credit card numbers are actually 16 digits, or that they will forever be 16 digits, so I'm hesitant to make that connection canonical.
Received on Thursday, 26 July 2012 09:00:25 UTC