Hi Dave, I tried the example myself! Got the ajax to work, but showing no values. Looking at the debug information I could see that the created SQL statement was wrong. The autocomplete component has an error in line 90.
The line is: $base = array($model.'.'.$field => 'LIKE %'.$data[$model] [$field].'%'); And should be: $base = array($model.'.'.$field.' LIKE' => '%'.$data[$model] [$field].'%'); as CakePHP expects the LIKE to be together with the model.field key, not with the value! Please correct it and give it a try! If it still doesn't work, then I will send you my test application for you to see. Enjoy, John On Apr 3, 5:54 pm, "Dave Maharaj :: WidePixels.com" <[email protected]> wrote: > Yes the scripts are included and loaded, component added to > controller...still nothing > [snip] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
