all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

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" ... >
JavaScript

object.vcard_name = sVCard

sVCard = object.vcard_name

Property values

Type: String

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.

Standards information

There are no standards that apply here.

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 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.

Examples

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"
>

See also

input type=email
input type=number
input type=password
input type=range
input type=search
input type=tel
input type=text
input type=url
Using AutoComplete in HTML Forms

 

 

Show:
© 2014 Microsoft