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!
As always if you have questions or need any help, you can contact us through the Help Desk at help.coreware.com.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article