This topic is locked

How can I create an Autocomplete like ...GMaps

1/2/2021 7:47:12 PM
PHPRunner General questions
Myr0n author

Hello everybody

Somebody could guide how can I create an autocomplete like g00gle maps?As you can see in the image, I wrote "9 bedar" and it gave me many suggestions even with accents, I need something like that to let the user choose from a table different than addresses.

Any help will be very well appreciated.

M
MikeT 1/3/2021

I once did something like that and used awesomeplete: https://projects.verou.me/awesomplete/
This wasn't in a phpr project, but it should be possible to integrate and adapt it, I'd probably only do this if absolutely necessary and if it's only used once or twice in a project.

Of course it would be a completely custom job bypassing the ready made controls in phpr. (some html, some javascript, and some code to fetch the data).

Myr0n author 1/3/2021



I once did something like that and used awesomeplete: https://projects.verou.me/awesomplete/
This wasn't in a phpr project, but it should be possible to integrate and adapt it, I'd probably only do this if absolutely necessary and if it's only used once or twice in a project.

Of course it would be a completely custom job bypassing the ready made controls in phpr. (some html, some javascript, and some code to fetch the data).


Thank you so much for your suggestion I gonna take a look, seems interesting.

Sergey Kornilov admin 1/4/2021

If you are talking about adding this kind of functionality to Add/Edit pages check the Lookup Wizard option 'Edit box with AJAX popup'. It does exactly this.