hcard-input-formats

From Microformats Wiki
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 copy + paste.

previous formats

Microsoft VCARD_NAME

As documented in:

Range of implementation support: IE6(2001?) thru present(?) - IE9/IE10

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>

ECML v1.1: Field Specifications for E-Commerce

As documented in:

Range of implementation support: unknown if any.

Shipping address

Ecom_ShipTo_Postal_Name_Prefix
Ship to title mapped to the RFC 3106 schema
Ecom_ShipTo_Postal_Name_First
Ship to first name mapped to the RFC 3106 schema
Ecom_ShipTo_Postal_Name_Middle
ship to middle name mapped to the RFC 3106 schema
Ecom_ShipTo_Postal_Name_Last
ship to last name mapped to the RFC 3106 schema
Ecom_ShipTo_Postal_Name_Suffix
ship to name suffix mapped to the RFC 3106 schema
Ecom_ShipTo_Postal_Company
ship to company name mapped to the RFC 3106 schema
Ecom_ShipTo_Postal_Street_Line1
ship to street line1 mapped to the RFC 3106 schema
Ecom_ShipTo_Postal_Street_Line2
ship to street line2 mapped to the RFC 3106 schema
Ecom_ShipTo_Postal_Street_Line3
ship to street line3 mapped to the RFC 3106 schema
Ecom_ShipTo_Postal_City
ship to city mapped to the RFC 3106 schema
Ecom_ShipTo_Postal_StateProv
ship to state/province mapped to the RFC 3106 schema
Ecom_ShipTo_Postal_PostalCode
ship to zip/postal code mapped to the RFC 3106 schema
Ecom_ShipTo_Postal_CountryCode
ship to country mapped to the RFC 3106 schema
Ecom_ShipTo_Telecom_Phone_Number
ship to phone mapped to the RFC 3106 schema
Ecom_ShipTo_Online_Email
ship to email mapped to the RFC 3106 schema

Billing address

Ecom_BillTo_Postal_Name_Prefix
bill to title mapped to the RFC 3106 schema
Ecom_BillTo_Postal_Name_First
bill to first name mapped to the RFC 3106 schema
Ecom_BillTo_Postal_Name_Middle
bill to middle name mapped to the RFC 3106 schema
Ecom_BillTo_Postal_Name_Last
bill to last name mapped to the RFC 3106 schema
Ecom_BillTo_Postal_Name_Suffix
bill to name suffix mapped to the RFC 3106 schema
Ecom_BillTo_Postal_Company
bill to company name mapped to the RFC 3106 schema
Ecom_BillTo_Postal_Street_Line1
bill to street line1 mapped to the RFC 3106 schema
Ecom_BillTo_Postal_Street_Line2
bill to street line2 mapped to the RFC 3106 schema
Ecom_BillTo_Postal_Street_Line3
bill to street line3 mapped to the RFC 3106 schema
Ecom_BillTo_Postal_City
bill to city mapped to the RFC 3106 schema
Ecom_BillTo_Postal_StateProv
bill to state/province mapped to the RFC 3106 schema
Ecom_BillTo_Postal_PostalCode
bill to zip/postal code mapped to the RFC 3106 schema
Ecom_BillTo_Postal_CountryCode
bill to country mapped to the RFC 3106 schema
Ecom_BillTo_Telecom_Phone_Number
bill to phone mapped to the RFC 3106 schema
Ecom_BillTo_Online_Email
bill to email mapped to the RFC 3106 schema

Receipt address

Ecom_ReceiptTo_Postal_Name_Prefix
receipt to title mapped to the RFC 3106 schema
Ecom_ReceiptTo_Postal_Name_First
receipt to first name mapped to the RFC 3106 schema
Ecom_ReceiptTo_Postal_Name_Middle
receipt to middle name mapped to the RFC 3106 schema
Ecom_ReceiptTo_Postal_Name_Last
receipt to last name mapped to the RFC 3106 schema
Ecom_ReceiptTo_Postal_Name_Suffix
receipt to name suffix mapped to the RFC 3106 schema
Ecom_ReceiptTo_Postal_Company
receipt to company name mapped to the RFC 3106 schema
Ecom_ReceiptTo_Postal_Street_Line1
receipt to street line1 mapped to the RFC 3106 schema
Ecom_ReceiptTo_Postal_Street_Line2
receipt to street line2 mapped to the RFC 3106 schema
Ecom_ReceiptTo_Postal_Street_Line3
receipt to street line3 mapped to the RFC 3106 schema
Ecom_ReceiptTo_Postal_City
receipt to city mapped to the RFC 3106 schema
Ecom_ReceiptTo_Postal_StateProv
receipt to state/province mapped to the RFC 3106 schema
Ecom_ReceiptTo_Postal_PostalCode
receipt to zip/postal code mapped to the RFC 3106 schema
Ecom_ReceiptTo_Postal_CountryCode
receipt to country mapped to the RFC 3106 schema
Ecom_ReceiptTo_Telecom_Phone_Number
receipt to phone mapped to the RFC 3106 schema
Ecom_ReceiptTo_Online_Email
receipt to email mapped to the RFC 3106 schema

RFC 3106 example

<input type="text" name="Ecom_BillTo_Postal_Name_First" />

ECM

According to Hixie (#whatwg 2012-07-23):

  • "netscape shipped support for ECM" ... in the Netscape "6.x range ... iirc"

No documentation of ECM support specifics exists, nor if it is supported in another implementations (post-Netscape 6). If you know of any information on either, please add it here and update this paragraph accordingly.

see also