Click to return to the DHTML, HTML     
VALUE Attribute | value P...     verticalAlign Property     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

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 object.vcard_name [ = sVCard ]

Possible Values

sVCard String that specifies one or more of the following values:
vCard.Business.CityBusiness city mapped to the vCard.Business.City schema.
vCard.Business.CountryBusiness country 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 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 read/write with no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see Dynamic Properties.

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

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
INPUT_password, INPUT_text

See Also

AutoComplete in HTML Forms



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.