[uf-discuss] input microformats for auto-filling forms
Stephen Paul Weber
singpolyma at singpolyma.net
Mon Feb 21 16:42:05 PST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Somebody claiming to be Glenn Jones wrote:
>Stephen thanks for the feedback, I have tried to reply to the major points:
> By adding an additional "input"
> classname with the microformat root name i.e. class="vcard input" the
> current parsers could be upgraded to disregard blank mircoformats.
Right. I was talking about existing parsers. Maybe we don't need to care
>> In fact, using class if you are not going to have a meaningful value=""
>> will just *confuse* existing parsers, leading them to get a blank object.
> When parsers such as Operator test for required fields they disregard any
> microformats which are left blank.
So, the idea is that any parser returning blank objects either shouldn't or
is easy to work around? Maybe.
What about the (used to be fairly common in the real world, maybe has
dropped out of use?) pattern of setting value="placeholder" and clearing
Anyway, if this is not a concern then it's not a concern. I just brought it
up because it would certainly affect code I have in production and so I need
to at least be thinking about it.
[...snip rest due to name="" not considered viable...]
Stephen Paul Weber, @singpolyma
See <http://singpolyma.net> for how I prefer to be contacted
edition right joseph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the microformats-discuss