Articles on: coreFORCE Advanced & Enterprise

coreFORCE - Website: Address Auto-Complete in Forms

coreFORCE Advanced and Enterprise Only


There are instances that you need to add address fields on your coreFORCE forms. To make it easier for users to fill out the form, you may want to turn on the auto-complete feature.

Note that the auto-complete feature is limited to only the United States.



To turn on auto-complete on the address fields on a form, perform these 2 steps:

Your form needs to have a country_id field.
If you do not want to show the country field in the form, then just create a hidden field with the form field code set to country_id and value 1000.
If you already have a country_id form field that you use on other forms and not set to a hidden field, you can still use it and just add Javascript form on the code to hide the field.

Set the classes = "autocomplete-address" on the primary address field. This can be done on the Form Definition > Controls tab.



That's it, your form is set!

Updated on: 07/07/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!