Written by olafdunn on Jun 25th, 2007 | Filed under:
Developer
As text input has always been a curse on mobile devices, especially when entering data that does not exist in the T9 dictionary (names, addresses, etc..)
I’ve just come accross a document by DoCoMo stating a feature that is available on their iMode HTML v7.
The feature is called My Profile. This stores information about the user on their handset.
It can be called upon to auto populate form data
<INPUT type=”text” name=”xxx” iprof=”My Profile item”>
<TEXTAREA name=”yyy” iprof=”My Profile item”></TEXTAREA>
<INPUT type=”quote”value=”Auto-fill profile”>
</A> |
[Function]
- For each pre-input item in My Profile, text boxes on the page are filled with the data stored on the handset.
|
[My Profile Items and Related iprof Attributes]
| My Profile item | iprof attribute | | Name (last) | “name1″ | | Name (first) | “name2″ | | Name (last + first) | “name” | | Furigana Japanese spelling (last) | “kana1″ | | Furigana Japanese spelling (first) | “kana2″ | | Furigana (last + first) | “kana” | | Mobile phone number (1st phone number) | “tel1″ | | 2nd phone number | “tel2″ | | Mobile phone mail address (1st mail address) | “mail1″ | | 2nd mail address | “mail2″ | | Postal code | “zip” | | Address (prefecture) | “address1″ | | Address (municipality) | “address2″ | | Address (street) | “address3″ | | Address (extended address) | “address4″ | | Address (all) | “address” | | Date of birth (year, YYYY) | “birthday1″ | | Date of birth (month, MM) | “birthday2″ | | Date of birth (day, DD) | “birthday3″ | | Date of birth (all, 8 numeric digits) | “birthday” |
| |
[Notes]
- In general, text fields are left blank in My Profile auto-filling when the corresponding item has not been input in My Profile.
- However, any information missing from the date of birth is replaced with a zero (”0″).
- Whenthe text box has a maximum length as defined by its maxlengthattribute, My Profile data entered is auto-filled starting with thefirst letter up to the maximum character limit.
|
Via: DoCoMo
Leave a Reply