![]() Option for showing the clickToAddress logo on the search interface. List of texts to use for placeholders and labels in the search interface. See the texts section open in new window for more details. If not using our CDN, be careful to set the cssPath. This is the path to the main CSS file that is used for the search box interface. This object contains options for primary and secondary colors for the search interface. See the colors section open in new window for more details. Sets the way the search interface is displayed. # Search Box Interface Keyġ: The search interface is displayed below the address search box, 2: The search interface surrounds the search box ![]() None of these are required if these options are not set then the default value will be used. These are additional configuration options. Please contact us at and we will enable geocodes for you. You will not be able to use latitude and longitude unless geocodes have been enabled on your access token. For example, if this is set to 'id’, you would set the values in the 'dom’ object to the IDs of the form elements. Specifies how the elements are passed in to the ‘dom’ object. Property to use to select element: name, id, class or object By default, it finds elements by name, but this can be changed using domMode. This is an object with DOM element references. You will receive an access token when you sign up for an account.Ĭontains elements to which search is applied Using the API requires a 20 character access token, which you should insert here. These are the basic configuration options that should be included as part of any integration. However, if you use subresource integrity checks open in new window, these will fail after an update.Īlternatively, you can download the JavaScript and host it on your own server. We recommend that you use this option, as you will automatically receive updates and bug fixes. This means that to add the JavaScript library to your page, you simply need to include this link open in new window. There are two options for adding the JavaScript library:įirstly, we host the final, compacted code on a CDN. JavaScript & HTML – Client Side Postcode Lookup.Client Side JavaScript Address Auto-Complete.UK Postcode Lookup On Two Forms (Billing & Shipping).Address Auto-Complete Website Integration.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |