Is there a way to provide users with an Autocomplete or/and Autosuggest as they type in a searchbox or listview.
Similar to Google search.
Also, I want to be able to query the suggestions from a REST database.
Thanks
Is there a way to provide users with an Autocomplete or/and Autosuggest as they type in a searchbox or listview.
Similar to Google search.
Also, I want to be able to query the suggestions from a REST database.
Thanks
Hello,
You can use jQuery Autocomplete. Please take a look at jQuery docs: http://jqueryui.com/autocomplete/
Next link should help too http://view.jquerymobile.com/1.3.0/do...
Hi,
I have added div code on my mobile page as below:
"Tags: "
Post which I am trying to add "Run Javascript" event on Click as below.
$(function() {
var availableTags = [
"ActionScript",
"AppleScript",
"Asp",
"BASIC",
"C",
"C++",
"Clojure",
"COBOL",
"ColdFusion",
"Erlang",
"Fortran",
"Groovy",
"Haskell",
"Java",
"JavaScript",
"Lisp",
"Perl",
"PHP",
"Python",
"Ruby",
"Scala",
"Scheme"
];
$( "#tags" ).autocomplete({
source: availableTags
});
});
However, the autocomplete option is not coming up. Am I doing something wrong? Please guide me as I am new to this.
Hello Rohit,
Please send us HTML code which you use
Hi Sergiy,
I will tell you my requirement. On a page, I want to put an input box with values fetched from a database. I want to offer autocomplete/autosuggest feature on that input box. Can you please suggest a code that could help me do it?
The above mentioned links are not working. i used the same html code from the first link that was suggested by Igor. Please help urgently.
Thanks
Hi Rohit,
You can retrieve values from database with read service https://devcenter.appery.io/documenta..., also we have a lot of tutorials that show how to work with database https://devcenter.appery.io/tutorials...
Unfortunately custom code is something outside the scope of standard Appery.io platform support. You may consider purchasing Advisory Pack to get more in-depth help on this question. Here is more information about Advisory Pack (http://appery.io/services/#Advisory_Pack).
Hi Alena,
I am not expecting any custom code to be built and I do know how to interface with the database. I am only asking on how to use the autocomplete feature in appery. The first sample code link mentioned by Igor works for me if I put it into the startScreen. However, if I put it after the login screen, the login is stuck into infinite loop. Not sure where the problem is.
Thanks
Have you tried to debug?
Any error in console?
Hi, it gives an exception that "autocomplete" does not exist. Can you suggest how to resolve this error?