zendX Jquery - Plugin by name was not found in the registry

898 views Asked by At

I've followed this tutorial on zendcast for creating an autocomplete with ajax:

http://www.zendcasts.com/autocomplete-control-with-zendx_jquery/2010/07/

I get "Plugin by name 'AutocompleteElement' was not found in the registry"

which must be to do with this code I have in IndexAction

`

$this->view->autocompleteElement = new ZendX_JQuery_Form_Element_Autocomplete('ac');

$this->view->autocompleteElement->setLabel('Autocomplete');

$this->view->autocompleteElement->setJqueryParam('source','index/results');

`

Does anybody know where I should be looking to resolve this?

1

There are 1 answers

0
jim smith On

solved it, I wasn't calling it correctly in index.phtml :/