[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-----
Hash: SHA256
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
about those?
>> 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
onblur with JavaScript. These would not parse as blank but as placeholder
garbage.
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)
iQIcBAEBCAAGBQJNYwZcAAoJENEcKRHOUZze86AP/iUe+7OyUsjV08Un76oHp2PD
gfWy8pqHoRWgoKh7Z3l3ov0oUuaUZBop0nxrVBUUyLWA/Jfa7D2TNCeZnT1XRbIJ
EYVY3KQnFiLcxEqBQEWyj2scfzL7GdfX9CsEsNphQAhrNynVidaBGxRtwRr4GEpP
jiee/1fQEcWk5KM9/cI6QL+Y18bgScQTZuRu26XtvNK0bbHSmLJwoUQqxd2IroyF
sTirdp9L9M8e2j8+A9RJDE5Hl0oXc1qt6lExFTqYuSwXf5CDOseJBdbzbt9MUUzQ
GX0FD3OYSr+j8ibae3WrV8YIVvTTIrFkeTkS5Kar422/EkAa0GpkZHIDcQsKP7b8
aDRICCu6wjQKPMLonpgfF44zhLfhikfIw/1DqFJcTp+4KMY77a9c0gCII7GnLG6T
5OnEqgEb+vF8WEt9VJ9W1UPz5hoGbnbRG3T9I5W/HFa83UGjcte3yLrUug7k3JKg
qCAg8lRENdWYJfJFDbJLWMZUaWOhNtdObZRLuPKfNF4amWX/hMPPQu8uWmvATS8r
eDMpu0FilqFpk3AqZL+Jwz4xfFjwvLo1QvHZWcBNu5iYWss+Z8YIClJYi6HECP7E
3n1MlQmbhqDg7BPe1EELqgoQMEkKpzZSjKvKwGRL0TiMgTkMuXg3QHlN83cALRQS
ZE+ZOqTbGf5fA869wro4
=+ejP
-----END PGP SIGNATURE-----
More information about the microformats-discuss
mailing list