Help Center

Local Navigation

Using data sources and fields with an autocomplete text field

You can use the AutoCompleteField class and the BasicFilteredList class to compare the text that a user types in an autocomplete text field with the values of fields in a specified data source. You specify the fields to use and their data sources by using a BasicFilteredList object that you pass as an argument to the constructor of the AutoCompleteField class.

Data source

Fields

DATA_SOURCE_APPOINTMENTS

  • DATA_FIELD_APPOINTMENTS_ALL
  • DATA_FIELD_APPOINTMENTS_ATTENDEES
  • DATA_FIELD_APPOINTMENTS_ORGANIZER
  • DATA_FIELD_APPOINTMENTS_SUBJECT

DATA_SOURCE_CONTACTS

  • DATA_FIELD_CONTACTS_ADDRESS_ALL
  • DATA_FIELD_CONTACTS_ADDRESS_HOME
  • DATA_FIELD_CONTACTS_ADDRESS_WORK
  • DATA_FIELD_CONTACTS_ANNIVERSARY
  • DATA_FIELD_CONTACTS_BIRTHDAY
  • DATA_FIELD_CONTACTS_CATEGORIES
  • DATA_FIELD_CONTACTS_COMPANY
  • DATA_FIELD_CONTACTS_EMAIL
  • DATA_FIELD_CONTACTS_FAX
  • DATA_FIELD_CONTACTS_JOB_TITLE
  • DATA_FIELD_CONTACTS_NAME_FULL
  • DATA_FIELD_CONTACTS_NAME_FIRST
  • DATA_FIELD_CONTACTS_NAME_LAST
  • DATA_FIELD_CONTACTS_NOTES
  • DATA_FIELD_CONTACTS_PAGER
  • DATA_FIELD_CONTACTS_PHONE_ALL
  • DATA_FIELD_CONTACTS_PHONE_HOME
  • DATA_FIELD_CONTACTS_PHONE_HOME2
  • DATA_FIELD_CONTACTS_PHONE_MOBILE
  • DATA_FIELD_CONTACTS_PHONE_OTHER
  • DATA_FIELD_CONTACTS_PHONE_WORK
  • DATA_FIELD_CONTACTS_PHONE_WORK2
  • DATA_FIELD_CONTACTS_PIN

DATA_SOURCE_MEMOS

  • DATA_FIELD_MEMOS_TITLE

DATA_SOURCE_MESSAGES

  • DATA_FIELD_MESSAGES_ALL
  • DATA_FIELD_MESSAGES_RECIPIENT
  • DATA_FIELD_MESSAGES_SENDER
  • DATA_FIELD_MESSAGES_SUBJECT

DATA_SOURCE_MUSIC

  • DATA_FIELD_MUSIC_ALL
  • DATA_FIELD_MUSIC_ALBUM
  • DATA_FIELD_MUSIC_ARTIST
  • DATA_FIELD_MUSIC_GENRE
  • DATA_FIELD_MUSIC_PLAYLIST
  • DATA_FIELD_MUSIC_SONG

DATA_SOURCE_PICTURES

  • DATA_FIELD_PICTURES_TITLE

DATA_SOURCE_RINGTONES

  • DATA_FIELD_RINGTONES_TITLE

DATA_SOURCE_TASKS

  • DATA_FIELD_TASKS_TITLE

DATA_SOURCE_VIDEOS

  • DATA_FIELD_VIDEOS_TITLE

DATA_SOURCE_VOICENOTES

  • DATA_FIELD_VOICENOTES_TITLE
Next topic: Spin boxes

Was this information helpful? Send us your comments.