Skip to content

Address Auto-Complete

To implement an address auto-completion field on your form, all you need is a ctx-form-field entry with....

  • FORM_FIELD_ID = line1
  • line1, line2, line3, and line4 are all supported as well.
  • FIELD_TYPE = ADDRESSAUTOCOMPLETE
  • A field type of ADDRESSAUTOCOMPLETE will generate a normal alphanumeric form field and set the form fields' InputType to FieldInputType.AddressAutoComplete in the FormBuilder, and the dynamic form on the angular end will handle everything else.
  • Enable config for address auto-completion providers at openpos.clientConfiguration.defaultConfigs.AutoCompleteAddress.enabled
  • Specify a provider (currently only google and experian are supported).
  • Config for either of these providers is located at the following locations
    • openpos.clientConfiguration.defaultConfigs.ExperianConfig
    • openpos.clientConfiguration.defaultConfigs.GoogleConfig