[uf-discuss] input microformats for auto-filling forms

Toby Inkster mail at tobyinkster.co.uk
Mon Feb 21 12:40:31 PST 2011

On Tue, 15 Feb 2011 15:49:11 -0500
Stephen Paul Weber <singpolyma at singpolyma.net> wrote:

> For example, in this case, while having class="fn" may be beneficial
> (if you want to parse the form as a microformat) using name="fn" is
> more semantically correct if what you want to do is autofill or
> similar. 

For what it's worth, you might want to instead of using <input>
elements just with name="fn", use names matching the following pattern:


This would allow, say:


for cases where the contact details of multiple people are being
requested in the same form. Also useful when two sets of contact
details are being requested for the same person:


The dot syntax is inspired by the grouping syntax in RFC 2425 and the
current vCard 4.0 drafts.

Toby A Inkster
<mailto:mail at tobyinkster.co.uk>

More information about the microformats-discuss mailing list