vcard_name attribute | vcard_name property
Sets or retrieves the
vCard value of the object to use for the AutoComplete box.
A String that specifies one or more of the following values.
Business city mapped to the vCard.Business.City schema.
Business country or region mapped to the vCard.Business.Country schema.
Business fax number mapped to the vCard.Business.Fax schema.
Business telephone number mapped to the vCard.Business.Phone schema.
Business state, province, or territory mapped to the vCard.Business.State schema.
Business street address mapped to the vCard.Business.StreetAddress schema.
Business Web site address mapped to the vCard.Business.URL schema.
Business postal code number mapped to the vCard.Business.Zipcode schema.
Cellular phone number mapped to the vCard.Cellular schema.
Company name mapped to the vCard.Company schema.
Company or agency department name mapped to the vCard.Department schema.
User-selected display name mapped to the vCard.DisplayName schema.
E-mail address mapped to the vCard.Email schema.
First name mapped to the vCard.FirstName schema.
Gender mapped to the vCard.Gender schema.
Home city mapped to the vCard.Home.City schema.
Home country or region mapped to the vCard.Home.Country schema.
Home fax number to the vCard.Home.FAX schema.
Home telephone number to the vCard.Home.Phone schema.
Home state, province, or territory mapped to the vCard.Home.State schema.
Home street address mapped to the vCard.Home.StreetAddress schema.
Home postal code number mapped to the vCard.Home.Zipcode schema.
Web page address mapped to the vCard.Homepage schema.
Company or agency job title mapped to the vCard.JobTitle schema.
Last name mapped to the vCard.LastName schema.
Middle name mapped to the vCard.MiddleName schema.
Additional notes mapped to the vCard.Notes schema.
Office location mapped to the vCard.Office schema.
Pager number mapped to the vCard.Pager schema.
There are no standards that apply here.
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 ability to store this information can be disabled. When this occurs, the user is prompted for a confirmation before storing the value.
The object model and the document 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.
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" >
Build date: 11/28/2012