hcard-input-formats

From Microformats Wiki
Revision as of 07:22, 12 June 2009 by Tantek (talk | contribs) (drafted with only hCard input previous format example found so far, Microsoft VCARD_NAME schema)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page is for documenting previous efforts at formats for web forms that input contact information (people or organizations/venues) towards brainstorming the use of hCard for input into forms for enabling hCard forms auto-fill and hCard 1.0 copy + paste.

previous formats

Microsoft VCARD_NAME

As documented in:

VCARD_NAME schema

vCard.Business.City
Business city mapped to the vCard.Business.City schema.
vCard.Business.Country
Business country or region mapped to the vCard.Business.Country schema.
vCard.Business.Fax
Business fax number mapped to the vCard.Business.Fax schema.
vCard.Business.Phone
Business telephone number mapped to the vCard.Business.Phone schema.
vCard.Business.State
Business state, province, or territory mapped to the vCard.Business.State schema.
vCard.Business.StreetAddress
Business street address mapped to the vCard.Business.StreetAddress schema.
vCard.Business.URL
Business Web site address mapped to the vCard.Business.URL schema.
vCard.Business.Zipcode
Business postal code number mapped to the vCard.Business.Zipcode schema.
vCard.Cellular
Cellular phone number mapped to the vCard.Cellular schema.
vCard.Company
Company name mapped to the vCard.Company schema.
vCard.Department
Company or agency department name mapped to the vCard.Department schema.
vCard.DisplayName
User-selected display name mapped to the vCard.DisplayName schema.
vCard.Email
E-mail address mapped to the vCard.Email schema.
vCard.FirstName
First name mapped to the vCard.FirstName schema.
vCard.Gender
Gender mapped to the vCard.Gender schema.
vCard.Home.City
Home city mapped to the vCard.Home.City schema.
vCard.Home.Country
Home country or region mapped to the vCard.Home.Country schema.
vCard.Home.Fax
Home fax number to the vCard.Home.FAX schema.
vCard.Home.Phone
Home telephone number to the vCard.Home.Phone schema.
vCard.Home.State
Home state, province, or territory mapped to the vCard.Home.State schema.
vCard.Home.StreetAddress
Home street address mapped to the vCard.Home.StreetAddress schema.
vCard.Home.Zipcode
Home postal code number mapped to the vCard.Home.Zipcode schema.
vCard.Homepage
Web page address mapped to the vCard.Homepage schema.
vCard.JobTitle
Company or agency job title mapped to the vCard.JobTitle schema.
vCard.LastName
Last name mapped to the vCard.LastName schema.
vCard.MiddleName
Middle name mapped to the vCard.MiddleName schema.
vCard.Notes
Additional notes mapped to the vCard.Notes schema.
vCard.Office
Office location mapped to the vCard.Office schema.
vCard.Pager
Pager number mapped to the vCard.Pager schema.

VCARD_NAME example 1

<INPUT TYPE = text NAME= "CustomerEmail" VCARD_NAME = "vCard.Email">

VCARD_NAME example 2

<form action="some-url-here" method="POST">
  First Name :   <input type="text" name="field_1" vcard_name="vCard.FirstName">
  Last Name :    <input type="text" name="field_2" vcard_name="vCard.LastName">
  Email :        <input type="text" name="field_3" vcard_name="vCard.Email">
  Country :      <input type="text" name="field_4" vcard_name="vCard.Home.Country">
</form>

see also