autocomplete

Questionsautocomplete
Stephen Hartigan asked 9 years ago

Hi Abu,

I want to auto fill values in multiple fields after the indexer has keyed a value into a single field, the values are looked up from another table.

The online autocomplete demo appears to do this however the example I have packed with the code only appears to apply to a single field.

Can you send me on the code or let me know how to auto fill other fields based on the autocomplete value typed.

Thanks!

3 Answers
Abu Ghufran answered 9 years ago
Romildo answered 9 years ago

Hello, grandmaster Abu!
Again I here in Brazil asking for your help!

I need to use autocomplete as described in this post: (https://phpgrid.desk.com/customer/portal/questions/14336664-autocomplete)

I tried to just copy the source code to my local machine, which is installed, configured and running the PHPGRID did not work.

I saw the FIREBUG seem to lack the return of the variable DATE, when I managed to run only returned the customer's name.

Also noticed in your code has this line exactly:

// Callback function
$ Col [ "formatoptions"] = array ( "sql" => "SELECT * FROM v name the clients ORDER BY name desc"
has this ORDER BY, which causes error 500, will also have not worked

finally noticed that my demo script in the header of this writing
* @version 1.5.2
while the one on this forum is
 * @version 2.0.0

My version is out of date?

I hope you can help me as always!

Abu Ghufran answered 9 years ago

Please check email to get latest build.

Your Answer

18 + 17 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?