SOLVED

Re: Multiple Location Preferences - Location Database

Go to solution
PennyH
Level 1

Multiple Location Preferences - Location Database

Hello
We want to collect our customers preferences about locations they would like us to update them on (eg if there is a service outage).
This is a B2B example where a company may have many employees, so there may be multiple locations they need to be kept informed about.

Are there any third-party tools that help with collecting location?
I am thinking search autocomplete, where the person filling in the form starts typing the location and a small list that start with the same letters appears.

I have seen it used on websites for when customers are searching for something eg holidays.

Has anyone done this for forms? What tool did you use?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Multiple Location Preferences - Location Database

You don’t need an additional tool. You can use built-in HTML <datalist> and hook it up to the form, like so:

 

MktoForms2 :: <datalist> for input[type=text]

e=text

 

View solution in original post

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator

Re: Multiple Location Preferences - Location Database

What do you mean by “collecting location” exactly? Do you want to autocomplete based from a list of all cities in the world, for example? Or a smaller list of locations that only has meaning to your business?

 

It’s incredibly simple to add autocomplete (a.k.a. typeahead) to a form field. That’s the easy part. The hard part is where the list of options to autocomplete comes from!

PennyH
Level 1

Re: Multiple Location Preferences - Location Database

Hello Sanford

Thank you for replying. 

I need all cities and towns in the UK. I can get a list. But is that all I need? do I need an additional tool/app.....

Thanks

Penny 

SanfordWhiteman
Level 10 - Community Moderator

Re: Multiple Location Preferences - Location Database

You don’t need an additional tool. You can use built-in HTML <datalist> and hook it up to the form, like so:

 

MktoForms2 :: <datalist> for input[type=text]

e=text