W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2012

Re: [whatwg] A mechanism to improve form autofill

From: Smylers <Smylers@stripey.com>
Date: Thu, 26 Jul 2012 09:46:47 +0100
To: whatwg@lists.whatwg.org, whatwg <whatwg@whatwg.org>
Message-ID: <20120726084647.GF1904@stripey.com>
Aryeh Gregor writes:

> ... in Israel, and I assume some other countries, there are national
> ID numbers that are considered public info.

In the UK library user ID 'numbers' are useful on multiple sites. As
well as the local library's own website, it grants access to many
reference sites that the library subscribes to, such as those of 'The
OED' and 'Encyclopędia Britannica'.

Similarly there are other organizations that one can be a member of
whose ID numbers need to be provided to multiple websites. For example
with some loyalty cards or frequent flyer programmes points can be
collected from multiple retailers.

It would be really useful if the auto-fill mechanism could cope with
such ID numbers: they are often long strings which few people know from
memory.

So I'm wondering if there could be a 'membership' or 'ID number'
field-type, followed by an identifier which organization this is, such
as:

  membership-uk-library
  membership-israel-id
  membership-flypoints

or:

  idnum-uk-library
  idnum-israel
  idnum-flypoints

This would be different from the other autocomplete field types Hixie
has proposed, because the organization suffix is open-ended, rather than
from a fixed set. I think that's inevitable: the HTML standard can
hardly spec every organization that somebody could be a member of.

It would be up to each organization that issues membership numbers to
decree the suffix that's used for it. Other websites that have forms
requiring membership numbers for that organization presumably already
have a relationship with it, so can easily ask them which suffix to use;
there's no particular need for a central list where one can look up an
arbitrary organization's suffix.

Clashes are possible, of course, but I suspect in practice if
organizations chose their own name (including a geographic part if the
organization is specific to a particular country or region) this
wouldn't be a big problem.

'Number' above is in scare quotes, since some of these types of ID
numbers contain letters as well.

OpenID URLs could be viewed as one example of cross-site membership, so
could possibly be covered by a system such as this. But since OpenID is
an open standard which anybody can use, and isn't tied into a particular
organization, an autocomplete type specifically for OpenID URLs may be
worthwhile.

Cheers

Smylers
-- 
http://twitter.com/Smylers2
Received on Thursday, 26 July 2012 08:47:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:09 GMT