i am a noob in drupal. i was working with autocomplate, and i get it successfully..but its working only for admin role. How can i make it available for authenticated users???
i have done this with makin a custom module..


hkkr123’s picture

This is the module I have written to add autocomplete to the field.

function textac_form_node_form_alter(&$form, $form_state) {

$type = $form['#node']->type;

    if (
$type == 'issues') {

$form['title']['#autocomplete_path'] = 'books/autocomplete';
return $form;
erin814’s picture

I'm having the same issue. Were you able to resolve this?

When I open up the Firebug console and try to type in a new tag, I get the following error message:

TypeError: b.element.propAttr is not a function

erin814’s picture

Issue summary:View changes

I got mine working. I was calling jQueryUI twice.