Skip to content

AutoFillHint

Inherits: Enum

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.

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

  • 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

  • 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

  • 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. when entering a bid or sale price).

  • 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_CITY = 'addressCity' class-attribute instance-attribute #

The input field expects an address locality (city/town).

This hint will be translated to the below values on different platforms:

ADDRESS_CITY_AND_STATE = 'addressCityAndState' class-attribute instance-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:

ADDRESS_STATE = 'addressState' class-attribute instance-attribute #

The input field expects a region/state.

This hint will be translated to the below values on different platforms:

BIRTHDAY = 'birthday' class-attribute instance-attribute #

The input field expects a person's full birth date.

This hint will be translated to the below values on different platforms:

BIRTHDAY_DAY = 'birthdayDay' class-attribute instance-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:

BIRTHDAY_MONTH = 'birthdayMonth' class-attribute instance-attribute #

The input field expects a person's birth month.

This hint will be translated to the below values on different platforms:

BIRTHDAY_YEAR = 'birthdayYear' class-attribute instance-attribute #

The input field expects a person's birth year.

This hint will be translated to the below values on different platforms:

COUNTRY_CODE = 'countryCode' class-attribute instance-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_NAME = 'countryName' class-attribute instance-attribute #

The input field expects a country name.

This hint will be translated to the below values on different platforms:

CREDIT_CARD_EXPIRATION_DATE = 'creditCardExpirationDate' class-attribute instance-attribute #

The input field expects a credit card expiration date.

This hint will be translated to the below values on different platforms:

CREDIT_CARD_EXPIRATION_DAY = 'creditCardExpirationDay' class-attribute instance-attribute #

The input field expects a credit card expiration day.

This hint will be translated to the below values on different platforms:

CREDIT_CARD_EXPIRATION_MONTH = 'creditCardExpirationMonth' class-attribute instance-attribute #

The input field expects a credit card expiration month.

This hint will be translated to the below values on different platforms:

CREDIT_CARD_EXPIRATION_YEAR = 'creditCardExpirationYear' class-attribute instance-attribute #

The input field expects a credit card expiration year.

This hint will be translated to the below values on different platforms:

CREDIT_CARD_FAMILY_NAME = 'creditCardFamilyName' class-attribute instance-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:

CREDIT_CARD_GIVEN_NAME = 'creditCardGivenName' class-attribute instance-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:

CREDIT_CARD_MIDDLE_NAME = 'creditCardMiddleName' class-attribute instance-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:

CREDIT_CARD_NAME = 'creditCardName' class-attribute instance-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_NUMBER = 'creditCardNumber' class-attribute instance-attribute #

The input field expects a credit card number.

This hint will be translated to the below values on different platforms:

CREDIT_CARD_SECURITY_CODE = 'creditCardSecurityCode' class-attribute instance-attribute #

The input field expects a credit card security code.

This hint will be translated to the below values on different platforms:

CREDIT_CARD_TYPE = 'creditCardType' class-attribute instance-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.

EMAIL = 'email' class-attribute instance-attribute #

The input field expects an email address.

This hint will be translated to the below values on different platforms:

FAMILY_NAME = 'familyName' class-attribute instance-attribute #

The input field expects a person's last/family name.

This hint will be translated to the below values on different platforms:

FULL_STREET_ADDRESS = 'fullStreetAddress' class-attribute instance-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:

GENDER = 'gender' class-attribute instance-attribute #

The input field expects a gender.

This hint will be translated to the below values on different platforms:

GIVEN_NAME = 'givenName' class-attribute instance-attribute #

The input field expects a person's first/given name.

This hint will be translated to the below values on different platforms:

IMPP = 'impp' class-attribute instance-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_TITLE = 'jobTitle' class-attribute instance-attribute #

The input field expects a job title.

This hint will be translated to the below values on different platforms:

LANGUAGE = 'language' class-attribute instance-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.

LOCATION = 'location' class-attribute instance-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_INITIAL = 'middleInitial' class-attribute instance-attribute #

The input field expects a person's middle initial.

This hint will be translated to the below values on different platforms:

MIDDLE_NAME = 'middleName' class-attribute instance-attribute #

The input field expects a person's middle name.

This hint will be translated to the below values on different platforms:

NAME = 'name' class-attribute instance-attribute #

The input field expects a person's full name.

This hint will be translated to the below values on different platforms:

NAME_PREFIX = 'namePrefix' class-attribute instance-attribute #

The input field expects a person's name prefix or title, such as "Dr.".

This hint will be translated to the below values on different platforms:

NAME_SUFFIX = 'nameSuffix' class-attribute instance-attribute #

The input field expects a person's name suffix, such as "Jr.".

This hint will be translated to the below values on different platforms:

NEW_PASSWORD = 'newPassword' class-attribute instance-attribute #

The input field expects a newly created password for save/update.

This hint will be translated to the below values on different platforms:

NEW_USERNAME = 'newUsername' class-attribute instance-attribute #

The input field expects a newly created username for save/update.

This hint will be translated to the below values on different platforms:

NICKNAME = 'nickname' class-attribute instance-attribute #

The input field expects a nickname.

This hint will be translated to the below values on different platforms:

ONE_TIME_CODE = 'oneTimeCode' class-attribute instance-attribute #

The input field expects a SMS one-time code.

This hint will be translated to the below values on different platforms:

ORGANIZATION_NAME = 'organizationName' class-attribute instance-attribute #

The input field expects an organization name corresponding to the person, address, or contact information in the other fields associated with this field.

This hint will be translated to the below values on different platforms:

PASSWORD = 'password' class-attribute instance-attribute #

The input field expects a password.

This hint will be translated to the below values on different platforms:

PHOTO = 'photo' class-attribute instance-attribute #

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.

This hint will be translated to the below values on different platforms:

  • web: "photo".
  • Otherwise, the hint string will be used as-is.

POSTAL_ADDRESS = 'postalAddress' class-attribute instance-attribute #

The input field expects a postal address.

This hint will be translated to the below values on different platforms:

POSTAL_ADDRESS_EXTENDED = 'postalAddressExtended' class-attribute instance-attribute #

The input field expects an auxiliary address details.

This hint will be translated to the below values on different platforms:

POSTAL_ADDRESS_EXTENDED_POSTAL_CODE = 'postalAddressExtendedPostalCode' class-attribute instance-attribute #

The input field expects an extended ZIP/POSTAL code.

This hint will be translated to the below values on different platforms:

POSTAL_CODE = 'postalCode' class-attribute instance-attribute #

The input field expects a postal code.

This hint will be translated to the below values on different platforms:

STREET_ADDRESS_LEVEL1 = 'streetAddressLevel1' class-attribute instance-attribute #

The first administrative level in the address.

This is typically the province in which the address is located. In the United States, this would be the state. In Switzerland, the canton. In the United Kingdom, the post town.

This hint will be translated to the below values on different platforms:

STREET_ADDRESS_LEVEL2 = 'streetAddressLevel2' class-attribute instance-attribute #

The second administrative level, in addresses with at least two of them. In countries with two administrative levels, this would typically be the city, town, village, or other locality in which the address is located.

This hint will be translated to the below values on different platforms:

STREET_ADDRESS_LEVEL3 = 'streetAddressLevel3' class-attribute instance-attribute #

The third administrative level, in addresses with at least three administrative levels.

This hint will be translated to the below values on different platforms:

STREET_ADDRESS_LEVEL4 = 'streetAddressLevel4' class-attribute instance-attribute #

The finest-grained administrative level, in addresses which have four levels.

This hint will be translated to the below values on different platforms:

STREET_ADDRESS_LINE1 = 'streetAddressLine1' class-attribute instance-attribute #

The input field expects the first line of a street address.

This hint will be translated to the below values on different platforms:

STREET_ADDRESS_LINE2 = 'streetAddressLine2' class-attribute instance-attribute #

The input field expects the second line of a street address.

This hint will be translated to the below values on different platforms:

STREET_ADDRESS_LINE3 = 'streetAddressLine3' class-attribute instance-attribute #

The input field expects the third line of a street address.

This hint will be translated to the below values on different platforms:

SUB_LOCALITY = 'subLocality' class-attribute instance-attribute #

The input field expects a sublocality.

This hint will be translated to the below values on different platforms:

  • iOS: sublocality.
  • Otherwise, the hint string will be used as-is.

TELEPHONE_NUMBER = 'telephoneNumber' class-attribute instance-attribute #

The input field expects a telephone number.

This hint will be translated to the below values on different platforms:

TELEPHONE_NUMBER_AREA_CODE = 'telephoneNumberAreaCode' class-attribute instance-attribute #

The input field expects a phone number's area code, with a country-internal prefix applied if applicable.

This hint will be translated to the below values on different platforms:

TELEPHONE_NUMBER_COUNTRY_CODE = 'telephoneNumberCountryCode' class-attribute instance-attribute #

The input field expects a phone number's country code.

This hint will be translated to the below values on different platforms:

TELEPHONE_NUMBER_DEVICE = 'telephoneNumberDevice' class-attribute instance-attribute #

The input field expects the current device's phone number, usually for Sign Up / OTP flows.

This hint will be translated to the below values on different platforms:

TELEPHONE_NUMBER_EXTENSION = 'telephoneNumberExtension' class-attribute instance-attribute #

The input field expects a phone number's internal extension code.

This hint will be translated to the below values on different platforms:

TELEPHONE_NUMBER_LOCAL = 'telephoneNumberLocal' class-attribute instance-attribute #

The input field expects a phone number without the country code and area code components.

This hint will be translated to the below values on different platforms:

  • web: "tel-local".
  • Otherwise, the hint string will be used as-is.

TELEPHONE_NUMBER_LOCAL_PREFIX = 'telephoneNumberLocalPrefix' class-attribute instance-attribute #

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.

This hint will be translated to the below values on different platforms:

TELEPHONE_NUMBER_LOCAL_SUFFIX = 'telephoneNumberLocalSuffix' class-attribute instance-attribute #

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.

This hint will be translated to the below values on different platforms:

TELEPHONE_NUMBER_NATIONAL = 'telephoneNumberNational' class-attribute instance-attribute #

The input field expects a phone number without country code.

This hint will be translated to the below values on different platforms:

TRANSACTION_AMOUNT = 'transactionAmount' class-attribute instance-attribute #

The amount that the user would like for the transaction (e.g. when entering a bid or sale price).

This hint will be translated to the below values on different platforms:

TRANSACTION_CURRENCY = 'transactionCurrency' class-attribute instance-attribute #

The currency that the user would prefer the transaction to use, in ISO 4217 currency code.

This hint will be translated to the below values on different platforms:

URL = 'url' class-attribute instance-attribute #

The input field expects a URL.

This hint will be translated to the below values on different platforms:

  • iOS: URL.
  • web: "url".
  • Otherwise, the hint string will be used as-is.

USERNAME = 'username' class-attribute instance-attribute #

The input field expects a username or an account name.

This hint will be translated to the below values on different platforms: