Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
HTML and CSS
Properties
 vcard_name Property

  Switch on low bandwidth view
VCARD_NAME Attribute | vcard_name Property

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

Syntax

HTML<ELEMENT VCARD_NAME = sVCard... >
Scripting[ sVCard = ] object.vcard_name

Possible Values

sVCard A String that specifies one or more of the following values.
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.

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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker