Predefined suggestions fetched using AJAX.

learn more… | top users | synonyms

0
votes
0answers
10 views

Drupal Autocomplete: highlight first li in popup by default

I have a standard drupal install with an autocomplete field. I need to be able to type in the field and have the first item in the suggestions be highlighted. /** * An AutoComplete object. */ ...
1
vote
1answer
26 views

How to populate an autocomplete using a web service?

I want to populate a form field, an autocomplete widget, with values from an external REST web service without actually importing the data to my database first (on-the-fly). How do I do that? Is ...
0
votes
1answer
10 views

Converting existing autocomplete field to custom Drupal field

I have an existing autocomplete field outside of Drupal that uses jQuery UI's autocomplete functionality and makes a call to a custom PHP script to parse the input and return formatted data as JSONP. ...
0
votes
0answers
10 views

Fire Autocomplete after input reaches 4 characters

I am searching for a way, to fire the autocomplete event after 4 characters are in the input-field. What I am doing now is: if(strlen($string) > 3) { in my "page callback", but this is not the ...
1
vote
3answers
95 views

Disable ordering in entity reference (user)

I have an entity reference of widget type = autocomplete. It's a collection of users where you can add multiple users. Now I would like to disable the ordering of the users. So you can't order the ...
0
votes
1answer
15 views

Drupal 7, Entity Reference user autocomplete field

I have a custom content type that has a users: entity reference autocomplete field. For some reason the list gets populated as [realname] ([name]). In other words the realname and username tokens are ...
1
vote
1answer
25 views

Node edit form with entity reference - show more than just the title in the autocomplete box

I have three content types: application, organization, and organization_note. Application has an entity reference to organization and organization has an entity reference to organization note. The ...
0
votes
1answer
23 views

Entity Reference - Not required to be in database

I have a content type Proposal with a entity reference field Proposed by. This is an autocomplete field that targets Users in the application. You can give in multiple users that are in the ...
0
votes
1answer
25 views

Auto-complete show everything by default

I have an field of "User reference" on a content type -- using an auto-complete control. This works but our user list is in the order of 300+ and it's difficult to remember who all should be selected ...
0
votes
1answer
45 views

Why Search API autocomplete module returns incomplete words?

I am working on an autocomplete feature based on "Search API autocomplete" module. Basically I almost copied the functions I needed from this module for my use case. I set up a Solr index, and I am ...
0
votes
1answer
36 views

Autocomplete entity reference - Required to select entity

I'm having problems with a required field that is an entity reference. This is my case: I have a content type advertisement that has an entity reference product, what is an autocomplete widget. The ...
0
votes
0answers
12 views

How can I filter the apachesolr_autocomplete results on a custom search block

We recently set up solr search and have been happy with it. I started using the custom_search module to set up pre-filtered search results, and while my solr search pages work well, the autocomplete ...
0
votes
1answer
23 views

Ajust the position of autocomplete fields

I working with the theme base bootstrap and my problem is that in autocomplete fields it's a bit offside of position, see the screenshot. How fix this ? I need this more to the left and below the ...
0
votes
2answers
76 views

Autocomplete on multiple fields Entity Reference

This is my case: I have a content type advertisement with some fields and an entity reference of content type product. The widget type of the entity reference is autocomplete. These are my settings ...
0
votes
1answer
34 views

Conditionally enable/disable #autocomplete from client side js

I have a custom search field which searches for a type of content depending on the radio box selected. I have applied autocomplete functionality to the field using hook_form_alter but only want the ...
0
votes
0answers
15 views

Autocomplete send multiple variables

Is there a chance to submit multiple variables with the autocomplete select box? I want to see in the dropdown a name, but submit its id. What I am currently doing is something like this: ...
0
votes
2answers
27 views

Restricting the term reference field from creating a new vocabulary term

I have a term reference field in a form and it is an auto-complete term widget, it has a vocabulary that supplies the values to it. My intention is to allow users to input only the terms which are ...
0
votes
0answers
23 views

how to hyperlink autocomplete values in drupal 7

When users search a hotel name using Views autocomplete exposed filter text field, is it possible to hyperlink the result values? Suppose we are searching some 'XY' user in a input. The results ...
0
votes
0answers
18 views

Entity Reference Autocomplete on 2 fields entity

Now I have a content type offer with some fields AND an entity reference of the content type product. The entity reference is an autocomplete widget. When you create an offer, you type in the title ...
5
votes
1answer
363 views

Delay ajax call on textfield to allow for typing

I would like to delay ajax from firing in the same way that the autocomplete seems to work. For example, if a user it typing, the ajax will not run until 500ms has elapsed since the last keyup. I am ...
0
votes
1answer
30 views

Display taxonomy term description when mouse hovers

I created a taxonomy and added vocabulary with terms(each term has a description). Included the vocabulary to an auto-complete field. It all works good. In the auto-complete field, terms appear in a ...
3
votes
1answer
51 views

Strip HTML tags from autocomplete field

I have altered #autocomplate_path for node queue autocomplete node suggestions to show image field along with title and nid, which is working fine. The code which is returns the image with title and ...
0
votes
1answer
25 views

getting a 'Fatal error: Allowed memory size' message when using search api autocomplete

Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 103 bytes) in /includes/database/database.inc on line 737 My message is above. I am using Search API, Database ...
0
votes
2answers
47 views

Drupal 7 - Giving correct path to callback function in #autocomplete_path

I have this below code for autocomplete implementation but I just get AJAX error As you can see there is not anymore details for tracking down the issue. I also checked the logs but seems like this ...
0
votes
0answers
83 views

Autocomplete text field implementation: why autocomplete textfield is not render required form elements?

I am simply trying to implement autocomplete textfield. After so many tries I ended up copying entire code (which is 99% copied from the drupal 7 example. I get the form but the text autocomplete ...
-1
votes
1answer
84 views

Apache Solr Autocomplete in search Views

I'm trying to work withe apache solr search in my view and make this autocomplete. Apache solr is configured correctly and I've adde a solr view. I can search on fields, that's no problem. But how ...
1
vote
1answer
38 views

Views Filters Populate + Autocomplete

I want to search in one text field on 2 values. I'm using the Views Filters Populare module for this. This works perfectly. But how can I have an autocomplete on this one text field and show both the ...
0
votes
0answers
49 views

How to prefill multiple value autocomplete field when creating a node page using form alter

I am working on a todo content type that has "Assigned to" autocomplete field which is a multiple value field. I am able to assign one default user based on the third argument passed via URL ...
0
votes
1answer
132 views

Views Autocomplete search multiple values

I'm trying to have a search filter that searches on 2 values and works with autocomplete list. This is what I've done: Installed the module Views filters populate. added two filters "CNK" and ...
0
votes
0answers
27 views

Display all fields Entity Reference

I have an Entity Reference in my content type Zoekertje. It's an autocomplete field that shows the titles of the entity references compared with the term you gave in. Now I would also like to show ...
0
votes
0answers
27 views

View autocomplete filter returns empty

View autocomplete filter was working fine before. But later after module updates it stopped working. Now it is returning empty results. When I am restoring the old site, autocomplete filter is ...
0
votes
0answers
81 views

Restrict users from creating new taxonomy term if it does not exist

i have a content type "Recipe" . And i have a "field_cusine" with type "Term reference" and widget is "Autocomplete term widget (tagging)". Now while adding the content as an admin. If i add a term ...
1
vote
1answer
58 views

Drupal views autocomplete filter inserts html tags

I have a site containing Free tagging field using text autocomplete widget option. A view is created with exposed filter for free tagging with autocomplete option. However the results provided via ...
0
votes
2answers
86 views

Entity Reference Autocomplete module: hook_entity_info definition?

I have tested the Entity Reference Autocomplete module by defining a form field of type entityreference (via hook_form) on the user entity - and it works as advertised. When I try it on my own entity ...
0
votes
1answer
60 views

Is linking to autocomplete results possible?

When users search a member profile using Views autocomplete exposed filter text field, is it possible to link the result values? Suppose we are searching some 'XY' user. The results appear as ...
1
vote
1answer
125 views

Form is not rebuilding on “Add another item” in unlimited value entity reference field

In a content type I have a field of type 'entity reference', 'auto complete' widget with unlimited values. The whole idea was to give user an option to add referenced node items but only once, Hence ...
0
votes
0answers
66 views

Exposed views filter, OG reference, autocomplete

I have a bunch of OG groups (Manufacturers) and a bunch of nodes (Products) which have an og_group_ref back to the appropriate group. I'm creating a catalog of products using views and want to be ...
0
votes
1answer
486 views

Styling the autocomplete dropdown to work with the up/down arrow keys

The following custom styling for drupal core's autocomplete dropdown works when hovering, but it is ignored when using the up/down arrow keys. (Currently, pressing the arrow keys only turns the text ...
0
votes
0answers
62 views

Search Autocomplete - specify suggestion source

I try to enable the search autocomplete module for the default D7 search form. Unfortunately I am no coder which is why I have some trouble specifying the suggestion source in the configurations. In ...
1
vote
0answers
79 views

Extra loading icon in Drupal form

I have created a custom form using (Drupal form API) , it has email field as autocomplete. For some reason there are two loading icon in the email field. //implements hook_menu function ...
0
votes
1answer
64 views

Ordering results for D7 form autocomplete fields

I've done the cursory Googling but so far haven't found anything close to an answer for this. I'm using the Masquerade module with a custom module on top to extend it and make its searching ...
0
votes
1answer
158 views

Make autocomplete window appear above accordion pane

I have created a node add form using the field group module to put the form in a jQuery accordion. I have a auto-complete field that is at the bottom of one pane so the div that appears that lets ...
1
vote
0answers
172 views

How to add autocomplete filter for multi value entity(USER) reference field?

I have enabled VIEWS AUTOCOMPLETE FILTER module. I have a field : field_assigned_user which is user reference field and field settings is set to unlimited values. I have created a relationship entity ...
0
votes
1answer
169 views

Control number of autocomplete results in drupal?

Is there any way to control number of results in an autocompleted field in drupal?. Usually node reference autocomplete fields provide 10 results, i want to increase the count, is there any global ...
0
votes
0answers
96 views

Drupal 7 Search Autocomplete module never loads “suggestions”

I am attempting to use the module Search Autocomplete 7.x-4.0-alpha2. I have added a form in the "search_autocomplete" configuration section. It is enabled. I created a view that returns taxonomy in ...
0
votes
1answer
360 views

Autocomplete field - fill the selected id into another form element (eg. hidden field)

this was already asked here Handling id from autocomplete field but still without answer: I have an autocomplete field which uses geonames query to search cities. After value is selected I want the ...
0
votes
2answers
364 views

How to get a field in a exposed filter criteria as an autocomplete?

In a view the field which has widget autocomplete does not get an option to select as dropdown or autocomplete in exposed filter criteria. I have a field in a content type which has following ...
0
votes
1answer
263 views

Entity reference with taxonomy term selection

I'd like to make an entity reference autocomplete field where I can only select the options which have a certain taxonomy term attached to it. Example: I have a sports player who belongs to a ...
1
vote
0answers
165 views

how to change the size of an exposed filter autocomplete form?

the source shows: <input id="edit-field-location-taxonomize-terms-tid" class="form-text form-autocomplete ctools-auto-submit-processed" type="text" maxlength="128" size="60" value="Germany" ...
0
votes
1answer
46 views

Where is the CCK autocomplete widget field php configuration code stored?

I have run myself into a serious problem. I have a custom CCK datatype in Drupal6 in combination with an autocomplete widget on a text field. I have defined php code in the web configuration for the ...