VCARD_NAME Attribute | vcard_name

HTML (DHTML)

VCARD_NAME Attribute | vcard_name Property

Internet Development Index

Sets or retrieves the vCard value of the object to use for the AutoComplete box.

Syntax

HTML<ELEMENT VCARD_NAME = sVCard... >
Scriptingobject.vcard_name [ = sVCard ]

Possible Values

sVCardString that specifies one or more of the following values:
vCard.Business.CityBusiness city mapped to the vCard.Business.City schema.
vCard.Business.CountryBusiness country/region mapped to the vCard.Business.Country schema.
vCard.Business.FaxBusiness fax number mapped to the vCard.Business.Fax schema.
vCard.Business.PhoneBusiness telephone number mapped to the vCard.Business.Phone schema.
vCard.Business.StateBusiness state, province, or territory mapped to the vCard.Business.State schema.
vCard.Business.StreetAddressBusiness street address mapped to the vCard.Business.StreetAddress schema.
vCard.Business.URLBusiness Web site address mapped to the vCard.Business.URL schema.
vCard.Business.ZipcodeBusiness postal code number mapped to the vCard.Business.Zipcode schema.
vCard.CellularCellular phone number mapped to the vCard.Cellular schema.
vCard.CompanyCompany name mapped to the vCard.Company schema.
vCard.DepartmentCompany or agency department name mapped to the vCard.Department schema.
vCard.DisplayNameUser-selected display name mapped to the vCard.DisplayName schema.
vCard.EmailE-mail address mapped to the vCard.Email schema.
vCard.FirstNameFirst name mapped to the vCard.FirstName schema.
vCard.GenderGender mapped to the vCard.Gender schema.
vCard.Home.CityHome city mapped to the vCard.Home.City schema.
vCard.Home.CountryHome country/region mapped to the vCard.Home.Country schema.
vCard.Home.FaxHome fax number to the vCard.Home.FAX schema.
vCard.Home.PhoneHome telephone number to the vCard.Home.Phone schema.
vCard.Home.StateHome state, province, or territory mapped to the vCard.Home.State schema.
vCard.Home.StreetAddressHome street address mapped to the vCard.Home.StreetAddress schema.
vCard.Home.ZipcodeHome postal code number mapped to the vCard.Home.Zipcode schema.
vCard.HomepageWeb page address mapped to the vCard.Homepage schema.
vCard.JobTitleCompany or agency job title mapped to the vCard.JobTitle schema.
vCard.LastNameLast name mapped to the vCard.LastName schema.
vCard.MiddleNameMiddle name mapped to the vCard.MiddleName schema.
vCard.NotesAdditional notes mapped to the vCard.Notes schema.
vCard.OfficeOffice location mapped to the vCard.Office schema.
vCard.PagerPager number mapped to the vCard.Pager schema.

The property is write-only. The property has no default value.

Remarks

A vCard is a standards-based way to refer to common personal information about a user.

When a VCARD_NAME attribute is specified, the AutoComplete box is populated with mapped values from the Profile Assistant and any other submitted values stored for that domain. For example, if a user enters an e-mail address into a text field that exposes a VCARD_NAME attribute set to vCard.Email, AutoComplete suggests any e-mail information provided in the Profile Assistant. If the user submits a different e-mail address, the new information becomes available on that domain for other text fields with the same VCARD_NAME value.

If the VCARD_NAME attribute is not specified, the name of the text field is used to map the submitted information. However, information from the Profile Assistant is not used.

You can disable the AutoComplete feature by specifying no to the AUTOCOMPLETE attribute.

Even though you can map PASSWORD values for AutoComplete, the browser can disable the ability to store this information. When this occurs, the browser prompts the user for a confirmation before storing the value.

The object model and a Web page do not have access to information provided by the AutoComplete feature until the user selects one of the suggestions for the text field.

This property is not supported in HTML Applications.

Example

This example uses the VCARD_NAME attribute to map the value of the text field to the e-mail address specified by the Profile Assistant.

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

Standards Information

There is no public standard that applies to this property.

Applies To

INPUT type=password, INPUT type=text

See Also

Using AutoComplete in HTML Forms