You are here: Reference > HTML > attributes > vCard_name (input(password, text))

vCard_name attribute (input(password, text))

Browser support:
Specifies the vCard type to use for the Autocomplete box.
Setting the value of the vCard_name attribute causes the contents of the Autocomplete window to depend on the value of this attribute only, regardless of the value of the name attribute. If the value of the vCard_name attribute is not specified, the contents of the Autocomplete window depend on the value of the name attribute.
To enable Autocomplete windows, see the page for the autoComplete attribute.
JavaScript page for this attribute: vcard_name. You can find other example(s) there.

Possible values:

String that sets the schema to use for the AutoComplete box.
One of the following values:
vCard.Business.City
Indicates the vCard.Business.City schema to the input field.
vCard.Business.Country
Indicates the vCard.Business.Country schema to the input field.
vCard.Business.Fax
Indicates the vCard.Business.Fax schema to the input field.
vCard.Business.Phone
Indicates the vCard.Business.Phone schema to the input field.
vCard.Business.State
Indicates the vCard.Business.State schema to the input field.
vCard.Business.StreetAddress
BIndicates the vCard.Business.StreetAddress schema to the input field.
vCard.Business.URL
Business Indicates the vCard.Business.URL schema to the input field.
vCard.Business.Zipcode
Indicates the vCard.Business.Zipcode schema to the input field.
vCard.Cellular
Indicates the vCard.Cellular schema to the input field.
vCard.Company
Indicates the vCard.Company schema to the input field.
vCard.Department
Indicates the vCard.Department schema to the input field.
vCard.DisplayName
Indicates the vCard.DisplayName schema to the input field.
vCard.Email
Indicates the vCard.Email schema to the input field.
vCard.FirstName
Indicates the vCard.FirstName schema to the input field.
vCard.Gender
Indicates the vCard.Gender schema to the input field.
vCard.Home.City
Indicates the vCard.Home.City schema to the input field.
vCard.Home.Country
Indicates the vCard.Home.Country schema to the input field.
vCard.Home.Fax
Indicates the vCard.Home.FAX schema to the input field.
vCard.Home.Phone
Indicates the vCard.Home.Phone schema to the input field.
vCard.Home.State
Indicates the vCard.Home.State schema to the input field.
vCard.Home.StreetAddress
Indicates the vCard.Home.StreetAddress schema to the input field.
vCard.Home.Zipcode
Indicates the vCard.Home.Zipcode schema to the input field.
vCard.Homepage
Indicates the vCard.Homepage schema to the input field.
vCard.JobTitle
Indicates the vCard.JobTitle schema to the input field.
vCard.LastName
Indicates the vCard.LastName schema to the input field.
vCard.MiddleName
Indicates the vCard.MiddleName schema to the input field.
vCard.Notes
Indicates the vCard.Notes schema to the input field.
vCard.Office
Indicates the vCard.Office schema to the input field.
vCard.Pager
Indicates the vCard.Pager schema to the input field.
Default: this attribute has no default value.

Example HTML code 1:

This example illustrates the use of the vCard_name attribute:
Type an e-mail address then submit it!
<form method="post">
    <input type="text" name="email" vcard_name="vCard.Email" />
    <input type="submit" />
</form>
After submitting, start to type the same e-mail address as before.
Did you find this example helpful? yes no

Supported by tags:

External links:

User Contributed Comments

Post Content

Post Content