AutoFillHint
Predefined autofill hint identifiers for text fields.
Each enum value represents semantic input meaning (for example city, email, or password) and is translated to platform-specific autofill constants when available. On unsupported platforms, the raw hint string value is used as-is.
Inherits: enum.Enum
Properties
ADDRESS_CITY- The input field expects an address locality (city/town).ADDRESS_CITY_AND_STATE- The input field expects a city name combined with a state name.ADDRESS_STATE- The input field expects a region/state.BIRTHDAY- The input field expects a person's full birth date.BIRTHDAY_DAY- The input field expects a person's birth day(of the month).BIRTHDAY_MONTH- The input field expects a person's birth month.BIRTHDAY_YEAR- The input field expects a person's birth year.COUNTRY_CODE- The input field expects an ISO 3166-1-alpha-2 country code.COUNTRY_NAME- The input field expects a country name.CREDIT_CARD_EXPIRATION_DATE- The input field expects a credit card expiration date.CREDIT_CARD_EXPIRATION_DAY- The input field expects a credit card expiration day.CREDIT_CARD_EXPIRATION_MONTH- The input field expects a credit card expiration month.CREDIT_CARD_EXPIRATION_YEAR- The input field expects a credit card expiration year.CREDIT_CARD_FAMILY_NAME- The input field expects the holder's last/family name as given on a credit card.CREDIT_CARD_GIVEN_NAME- The input field expects the holder's first/given name as given on a credit card.CREDIT_CARD_MIDDLE_NAME- The input field expects the holder's middle name as given on a credit card.CREDIT_CARD_NAME- The input field expects the holder's full name as given on a credit card.CREDIT_CARD_NUMBER- The input field expects a credit card number.CREDIT_CARD_SECURITY_CODE- The input field expects a credit card security code.CREDIT_CARD_TYPE- The input field expects the type of a credit card, for example "Visa".EMAIL- The input field expects an email address.FAMILY_NAME- The input field expects a person's last/family name.FULL_STREET_ADDRESS- The input field expects a street address that fully identifies a location.GENDER- The input field expects a gender.GIVEN_NAME- The input field expects a person's first/given name.IMPP- The input field expects a URL representing an instant messaging protocol endpoint.JOB_TITLE- The input field expects a job title.LANGUAGE- The input field expects the preferred language of the user.LOCATION- The input field expects a location, such as a point of interest, an address,or another way to identify a location.MIDDLE_INITIAL- The input field expects a person's middle initial.MIDDLE_NAME- The input field expects a person's middle name.NAME- The input field expects a person's full name.NAME_PREFIX- The input field expects a person's name prefix or title, such as "Dr.".NAME_SUFFIX- The input field expects a person's name suffix, such as "Jr.".NEW_PASSWORD- The input field expects a newly created password for save/update.NEW_USERNAME- The input field expects a newly created username for save/update.NICKNAME- The input field expects a nickname.ONE_TIME_CODE- The input field expects a SMS one-time code.ORGANIZATION_NAME- The input field expects an organization name corresponding to the person, address, or contact information in the other fields associated with this field.PASSWORD- The input field expects a password.PHOTO- The input field expects a photograph, icon, or other image corresponding to the company, person, address, or contact information in the other fields associated with this field.POSTAL_ADDRESS- The input field expects a postal address.POSTAL_ADDRESS_EXTENDED- The input field expects an auxiliary address details.POSTAL_ADDRESS_EXTENDED_POSTAL_CODE- The input field expects an extended ZIP/POSTAL code.POSTAL_CODE- The input field expects a postal code.STREET_ADDRESS_LEVEL1- The first administrative level in the address.STREET_ADDRESS_LEVEL2- The second administrative level, in addresses with at least two of them.STREET_ADDRESS_LEVEL3- The third administrative level, in addresses with at least three administrative levels.STREET_ADDRESS_LEVEL4- The finest-grained administrative level, in addresses which have four levels.STREET_ADDRESS_LINE1- The input field expects the first line of a street address.STREET_ADDRESS_LINE2- The input field expects the second line of a street address.STREET_ADDRESS_LINE3- The input field expects the third line of a street address.SUB_LOCALITY- The input field expects a sublocality.TELEPHONE_NUMBER- The input field expects a telephone number.TELEPHONE_NUMBER_AREA_CODE- The input field expects a phone number's area code, with a country-internal prefix applied if applicable.TELEPHONE_NUMBER_COUNTRY_CODE- The input field expects a phone number's country code.TELEPHONE_NUMBER_DEVICE- The input field expects the current device's phone number, usually for Sign Up / OTP flows.TELEPHONE_NUMBER_EXTENSION- The input field expects a phone number's internal extension code.TELEPHONE_NUMBER_LOCAL- The input field expects a phone number without the country code and area code components.TELEPHONE_NUMBER_LOCAL_PREFIX- The input field expects the first part of the component of the telephone number that follows the area code, when that component is split into two components.TELEPHONE_NUMBER_LOCAL_SUFFIX- The input field expects the second part of the component of the telephone number that follows the area code, when that component is split into two components.TELEPHONE_NUMBER_NATIONAL- The input field expects a phone number without country code.TRANSACTION_AMOUNT- The amount that the user would like for the transaction (e.g.TRANSACTION_CURRENCY- The currency that the user would prefer the transaction to use, in ISO 4217 currency code.URL- The input field expects a URL.USERNAME- The input field expects a username or an account name.
Properties
ADDRESS_CITYclass-attributeinstance-attribute
The input field expects an address locality (city/town).
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_POSTAL_ADDRESS_LOCALITY.
- iOS: addressCity.
- Otherwise, the hint string will be used as-is.
ADDRESS_CITY_AND_STATEclass-attributeinstance-attribute
The input field expects a city name combined with a state name.
This hint will be translated to the below values on different platforms:
- iOS: addressCityAndState.
- Otherwise, the hint string will be used as-is.
ADDRESS_STATEclass-attributeinstance-attribute
The input field expects a region/state.
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_POSTAL_ADDRESS_REGION.
- iOS: addressState.
- Otherwise, the hint string will be used as-is.
BIRTHDAYclass-attributeinstance-attribute
The input field expects a person's full birth date.
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_BIRTH_DATE_FULL.
- web: "bday".
- Otherwise, the hint string will be used as-is.
BIRTHDAY_DAYclass-attributeinstance-attribute
The input field expects a person's birth day(of the month).
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_BIRTH_DATE_DAY.
- web: "bday-day".
- Otherwise, the hint string will be used as-is.
BIRTHDAY_MONTHclass-attributeinstance-attribute
The input field expects a person's birth month.
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_BIRTH_DATE_MONTH.
- web: "bday-month".
- Otherwise, the hint string will be used as-is.
BIRTHDAY_YEARclass-attributeinstance-attribute
The input field expects a person's birth year.
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_BIRTH_DATE_YEAR.
- web: "bday-year".
- Otherwise, the hint string will be used as-is.
COUNTRY_CODEclass-attributeinstance-attribute
The input field expects an ISO 3166-1-alpha-2 country code.
This hint will be translated to the below values on different platforms:
- web: "country".
- Otherwise, the hint string will be used as-is.
COUNTRY_NAMEclass-attributeinstance-attribute
The input field expects a country name.
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_POSTAL_ADDRESS_COUNTRY.
- iOS: countryName.
- web: "country-name".
- Otherwise, the hint string will be used as-is.
CREDIT_CARD_EXPIRATION_DATEclass-attributeinstance-attribute
The input field expects a credit card expiration date.
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_CREDIT_CARD_NUMBER.
- web: "cc-exp".
- Otherwise, the hint string will be used as-is.
CREDIT_CARD_EXPIRATION_DAYclass-attributeinstance-attribute
The input field expects a credit card expiration day.
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY.
- Otherwise, the hint string will be used as-is.
CREDIT_CARD_EXPIRATION_MONTHclass-attributeinstance-attribute
The input field expects a credit card expiration month.
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH.
- web: "cc-exp-month".
- Otherwise, the hint string will be used as-is.
CREDIT_CARD_EXPIRATION_YEARclass-attributeinstance-attribute
The input field expects a credit card expiration year.
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR.
- web: "cc-exp-year".
- Otherwise, the hint string will be used as-is.
CREDIT_CARD_FAMILY_NAMEclass-attributeinstance-attribute
The input field expects the holder's last/family name as given on a credit card.
This hint will be translated to the below values on different platforms:
- web: "cc-family-name".
- Otherwise, the hint string will be used as-is.
CREDIT_CARD_GIVEN_NAMEclass-attributeinstance-attribute
The input field expects the holder's first/given name as given on a credit card.
This hint will be translated to the below values on different platforms:
- web: "cc-given-name".
- Otherwise, the hint string will be used as-is.
CREDIT_CARD_MIDDLE_NAMEclass-attributeinstance-attribute
The input field expects the holder's middle name as given on a credit card.
This hint will be translated to the below values on different platforms:
- web: "cc-additional-name".
- Otherwise, the hint string will be used as-is.
CREDIT_CARD_NAMEclass-attributeinstance-attribute
The input field expects the holder's full name as given on a credit card.
This hint will be translated to the below values on different platforms:
- web: "cc-name".
- Otherwise, the hint string will be used as-is.
CREDIT_CARD_NUMBERclass-attributeinstance-attribute
The input field expects a credit card number.
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_CREDIT_CARD_NUMBER.
- iOS: creditCardNumber.
- web: "cc-number".
- Otherwise, the hint string will be used as-is.
CREDIT_CARD_SECURITY_CODEclass-attributeinstance-attribute
The input field expects a credit card security code.
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE.
- web: "cc-csc".
- Otherwise, the hint string will be used as-is.
CREDIT_CARD_TYPEclass-attributeinstance-attribute
The input field expects the type of a credit card, for example "Visa".
This hint will be translated to the below values on different platforms:
- web: "cc-type".
- Otherwise, the hint string will be used as-is.
EMAILclass-attributeinstance-attribute
The input field expects an email address.
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_EMAIL_ADDRESS.
- iOS: emailAddress.
- web: "email".
- Otherwise, the hint string will be used as-is.
FAMILY_NAMEclass-attributeinstance-attribute
The input field expects a person's last/family name.
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_PERSON_NAME_FAMILY.
- iOS: familyName.
- web: "family-name".
- Otherwise, the hint string will be used as-is.
FULL_STREET_ADDRESSclass-attributeinstance-attribute
The input field expects a street address that fully identifies a location.
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_POSTAL_ADDRESS_STREET_ADDRESS.
- iOS: fullStreetAddress.
- web: "street-address".
- Otherwise, the hint string will be used as-is.
GENDERclass-attributeinstance-attribute
The input field expects a gender.
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_GENDER.
- web: "sex".
- Otherwise, the hint string will be used as-is.
GIVEN_NAMEclass-attributeinstance-attribute
The input field expects a person's first/given name.
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_PERSON_NAME_GIVEN.
- iOS: givenName.
- web: "given-name".
- Otherwise, the hint string will be used as-is.
IMPPclass-attributeinstance-attribute
The input field expects a URL representing an instant messaging protocol endpoint.
This hint will be translated to the below values on different platforms:
- web: "impp".
- Otherwise, the hint string will be used as-is.
JOB_TITLEclass-attributeinstance-attribute
The input field expects a job title.
This hint will be translated to the below values on different platforms:
- iOS: jobTitle.
- web: "organization-title".
- Otherwise, the hint string will be used as-is.
LANGUAGEclass-attributeinstance-attribute
The input field expects the preferred language of the user.
This hint will be translated to the below values on different platforms:
- web: "language".
- Otherwise, the hint string will be used as-is.
LOCATIONclass-attributeinstance-attribute
The input field expects a location, such as a point of interest, an address,or another way to identify a location.
This hint will be translated to the below values on different platforms:
- iOS: location.
- Otherwise, the hint string will be used as-is.
MIDDLE_INITIALclass-attributeinstance-attribute
The input field expects a person's middle initial.
This hint will be translated to the below values on different platforms:
- Android: AUTOFILL_HINT_PERSON_NAME_MIDDLE_INITIAL.
- Otherwise, the hint string will be used as-is.