HTML element name standards
-
For those using IE, you'll notice how it "remembers" values for elements such as search boxes; address lines; etc... The only problem with this is that if websites call eg: a telephone number textbox, telnum and another site calls it txttelnum then neither site benefits from the other's data. Is there any standards body working on naming conventions for HTML elements to prevent this? I think that it'll be a really good thing if there is one. Cheers, Simon "Every good work of software starts by scratching a developer's personal itch.", Eric S. Raymond
-
For those using IE, you'll notice how it "remembers" values for elements such as search boxes; address lines; etc... The only problem with this is that if websites call eg: a telephone number textbox, telnum and another site calls it txttelnum then neither site benefits from the other's data. Is there any standards body working on naming conventions for HTML elements to prevent this? I think that it'll be a really good thing if there is one. Cheers, Simon "Every good work of software starts by scratching a developer's personal itch.", Eric S. Raymond
The easiest way for IE is to use the "vcard_name" property on the input tag:
<input type='text' name='name' vcard_name='vCard.«option»' …>
where
«option»
is one of the following:- Cellular
- Company
- Department
- DisplayName
- FirstName
- Gender
- Home.City
- Home.Country
- Home.Fax
- Home.Phone
- Home.State
- Home.StreetAddress
- Home.Zipcode
- Homepage
- JobTitle
- LastName
- MiddleName
- Notes
- Office
- Pager
- Business.City
- Business.Country
- Business.Fax
- Business.Phone
- Business.State
- Business.StreetAddress
- Business.URL
- Business.Zipcode
The field will then add the entries from the MS Profile Assistant to the auto-complete list. Cheers, Richard
-
The easiest way for IE is to use the "vcard_name" property on the input tag:
<input type='text' name='name' vcard_name='vCard.«option»' …>
where
«option»
is one of the following:- Cellular
- Company
- Department
- DisplayName
- FirstName
- Gender
- Home.City
- Home.Country
- Home.Fax
- Home.Phone
- Home.State
- Home.StreetAddress
- Home.Zipcode
- Homepage
- JobTitle
- LastName
- MiddleName
- Notes
- Office
- Pager
- Business.City
- Business.Country
- Business.Fax
- Business.Phone
- Business.State
- Business.StreetAddress
- Business.URL
- Business.Zipcode
The field will then add the entries from the MS Profile Assistant to the auto-complete list. Cheers, Richard