Hi,

I just downloaded the latest version of Drupal CVS tonight (4.6.3) and installed it fine. I have enabled the search module and wanted to see if an AJAX search functionality was working as it says in the changelog:

- usability:
* added support for auto-complete forms (AJAX).

I've added some content and run cron.php.

How do I enable the auto-complete forms?

Many thanks
Rachel

Comments

archatas’s picture

There are two things you should check.

1. Is JavaScript enabled in your browser? Is your browser modern? You should use IE5+, Firefox, Mozilla, Opera or smth. similar.

2. Are you sure there is the autocomplete functionality for the search form? I have seen autocomplete functionality only for tagging (folksonomy) and username input when creating new post. Input fields with autocomplete functionality has a circle inside it on the right (It defines the loading status of the loading data).

cre8d’s picture

I'm using Firefox with Javascript enabled. I can see the little circle to the right of the "Authored by" field. I'm just confused about the search since it was in the changelog as an AJAX-powered search?

DriesK’s picture

Autocomplete forms are only available in Drupal HEAD, the development version (what will become Drupal 4.7). This functionality is not available in Drupal 4.6.3.

cre8d’s picture

I believe that is what I downloaded via CVS? In the change log for the file I downloaded it said AJAX functionality was there.

Steven’s picture

Drupal HEAD has Ajax functionality, but it is not magically applied to every form.

In your case, you seem to be confusing autocomplete with livesearch. Autocomplete is where a partially typed word/name/tag is completed with a dropdown list of suggestions. Livesearch is where search results are displayed as you type. They are quite different.

Look at the author information field in the node edit form for an example of autocomplete.

--
If you have a problem, please search before posting a question.

cre8d’s picture

Hmm sorry for not being clearer. I'm wanting autocomplete for my search box :) Is there any way to enable autocomplete on that box? (It's appearing on other boxes, like Authored by)

Jaza’s picture

So far, AJAX autocomplete has only been developed for two text fields in Drupal core: the 'authored by' field, and any taxonomy field that's linked to free tagging vocabularies (both of these fields are in the node edit form).

Autocomplete has not been developed for the search box yet, but I'm sure it's only a matter of time. ;-)

Jeremy Epstein - GreenAsh

Jeremy Epstein - GreenAsh

wwwoliondorcom’s picture

Hello,

I have an HTTP error 0 with autocomplete in taxonomy field that's linked to free tagging vocabulary

How can I disable autocomplete on this field ?

Thanks a lot.