Predefined suggestions fetched using AJAX.

learn more… | top users | synonyms

0
votes
1answer
13 views

What's the class or id of the autocomplete suggestions pane?

I'm doing a form with a fairly standard autocomplete_path textfield, like: $form['the_field'] = array( '#title' => t('A title'), '#type' => 'textfield', '#autocomplete_path' => ...
1
vote
0answers
22 views

alter Suggestion box for apache solr autosearch

I want to restrict the suggestions for Apache Solr Search with hook_apachesolr_suggestions_alter(&$suggestions, $env_id). I have gone through the code and found the suggestion is prompt from ...
1
vote
1answer
18 views

how to make an existing listbox autocomplete

I have made a content type which has a list box field. now I need to change its widget to autocomplete but as you know list box fields does not have autocomplete widget. now I have added 650 contents ...
1
vote
0answers
13 views

Addressfield autocomplete language independent or restrict user language when storing information

I've got address field autocomplete for storing user city only but when entering information it stores them language specific e.g. if ones enter София, България it's not the same as Sofia, ...
0
votes
0answers
23 views

How do I make autocomplete dropdown with optgroups?

Has anyone been successful customize the autocomplete dropdown with optgroups having different icons with parent. i.e. I want dropdown hierarchical ways in search bar autocomplete.
0
votes
0answers
30 views

Webform Ajax Autocomplete based on other Autocomplete

I have a webform autocomplete field that populates for a database called country. What I would like to do is when the user types in their country another field (called iso3) populates with the ...
0
votes
0answers
18 views

How to get tid of the taxonomy term from autocomplete field

One of my node types has Term reference field with Autocomplete term widget (tagging). I need to get TID of the term that user filled in in this autocomplete field - right after the field has been ...
0
votes
0answers
10 views

How to put the autocomplete widget type in my field?

i'm new in Drupal and i'm trying to create a field type taxonomy_reference, but i been looking the way to put the widget autocomplete for the field but It doesn't seem to work. This is the code that ...
0
votes
0answers
42 views

AJAX HTTP error occurred Code: 200

I am using Drupal 7.34, and I am facing an AJAX error trying to use autocomplete fields in my backend (e.g. file field sources, product reference). After searching for solutions, I found similar ...
0
votes
0answers
45 views

Ajax - Dependant Autocomplete based on select list

I am trying to implement the solution that PrestonDocks gave to this question but am having 2 issues: When the fields are displayed on my form they are being inverted. The exhibitor field is coming ...
0
votes
1answer
30 views

Auto Complete displaying wrong for non-admin users

I've recently started a module that runs an autocomplete via the taxonomy. It's attached to a form textarea element: $form['bb_occupation'] = array( ... '#autocomplete_path' => ...
1
vote
1answer
53 views

Strange problem with autocomplete field in forms in Drupal 7

I have an autocomplete field, which has been working perfectly for 1-2 days. Suddenly, it stoped working. I re-wrote the code, cleared the cache, and it works again. After comparing code, it is ...
0
votes
0answers
28 views

Entity reference use email and show email (not username)

This is my case now: I have an entity reference in my Proposal content type to a user. This is an autocomplete field. I use a view where I select all the users and show the email of the users. That ...
1
vote
1answer
62 views

How to add an autocomplete field to a form

I've got a page that, in response to a button click, brings up a Bootstrap modal form. In that form is a textfield with the standard Drupal autocomplete behavior; it's working fine. I now want to ...
0
votes
1answer
136 views

How to do autocomplete in a Bootstrap modal form?

I've got a D7 page that constructs a Twitter Bootstrap modal form; it appears in response to a click on a button on the page. I'd like to have in that form a textfield that uses the standard Drupal ...
0
votes
1answer
46 views

How to add multiple value using autocomplete widget

We create a input field using user interface for add multiple languages .How i can add multiple language using comma separate so after comma they will populate other language.
1
vote
1answer
60 views

ng angular typeahead drupal

Has anyone got the angularjs bootstrap-ui "typeahead" widget to play nice with drupal autocomplete? seems like a match made in heaven I will try this in the next week or so - but just checking if ...
0
votes
0answers
31 views

Search Api Autocomplete view all results html

We're experiencing a problem with 'view all results for:' functionality on our solr search. if i keyword search, i get a list of nodes which match the keyword that works fine. if i click the view all ...
3
votes
4answers
179 views

How to prevent Autocomplete Caching?

I have made textfield to be autocomplete field by using hook_form_alter. mymoudle_form_alter(&$form, &$form_state, $form_id){ $form['field_state']['und'][0]['value']['#autocomplete_path'] ...
0
votes
0answers
14 views

Search API autcomplete - common words are always added to search suggestions

Using the Search API and Search API Autocomplete modules: This is probably a case of misconfiguration on my part, but may be a bug of some description I'm not sure. Whenever I use the auto-search, ...
0
votes
0answers
45 views

why is my autocomplete not working?

i'm working with groups and users, and i would like to display only the users that are not already in a group to prevent errors while writing the name of the user. Here is the menu : ...
0
votes
0answers
23 views

Two Similar terms are not visible in autocomplete

I categories and subcategories. Some sub-categories are the same (they have the same name). The user creates content (node-creation), but the autocomplete input shows only one term! But there are two ...
0
votes
0answers
10 views

Make a rewritten field from Views work in autocomplete

I have a view which lists all the terms from a vocabulary (400+ terms) as an HTML list. The taxonomy names are rewritten to be output as links and have two arguments: the TID of the current term (the ...
0
votes
0answers
31 views

Show autocomplete results all time

Is there a way to show autocomplete results at all the time? (In this case results are taxonomy terms). For example: I have search field at the top of the page and at the bottom of it is div where ...
0
votes
1answer
32 views

Taxonomy autocomplete is empty because of access control for anonymous users

I am using Finder, a great module for autocomplete searches. I am using it for autocompleting results from a taxonomy vocabulary. The way Finder works is it uses views for the autocomplete results. My ...
0
votes
0answers
56 views

Need to load form manually after autocomplete field value selected

I'm fairly new to Drupal and have spent most of my time in the form API. The one thing that is perplexing me is how to load the field values of a form after a value has been selected in my auto ...
1
vote
0answers
21 views

Multiple Entity Reference creation using Services and Autocomplete Widget

This is in reference to: Entity Reference create problem with REST server using Services and How to use Services to create new node with Entity Reference field? What if I want to create multiple ...
0
votes
2answers
158 views

How to create a quote request form in Drupal 7

I'm building a Drupal site that uses nodes to display a number of high value products. There are no e-commerce features due to the high value of the products being offered for sale, but the client ...
0
votes
1answer
40 views

Auto-complete and form auto-populate from wikipedia

I have some taxonomy terms that would benefit from being (at least in part) being based on wikipedia articles. It looks possible to make a request via the wikipedia api in PHP, and then link that to ...
3
votes
1answer
195 views

What's the event triggered after an autocomplete has run and how to retrieve the value selected

I have a node add form with a term reference that uses autocomplete widget. I want the "tid" of the filled term by the user using the autocomplete widget.
0
votes
0answers
31 views

How can i use the Drupal form API states to make my field value depend on another field value?

Basically what I'm trying to do is to change the #autocomplete_path for the author field in the node/add. The value of the #autocomplete_path will be dependent on the value of another field (a select ...
12
votes
1answer
124 views

Webform-CiviCRM integration: autocomplete employer

I set up a Webform for a Membership Application. I followed the instructions on this page for setting up an Autocomplete for the Organization the new Member belongs to: ...
0
votes
1answer
192 views

How to add Autocomplete to a Views Custom Textfield Filter

I have created my own custom views filter handler which works perfectly with a simple textfield for the value form. However, I am unable to add autocomplete to that textfield (ie: the blue circle ...
0
votes
0answers
38 views

Using form api autocomplete to return content of a specific type from all groups (orgainic groups) a user is a member of

How do I add a form element which would reference a large (>200) list of nodes of a specific type, that either belong to the user or are shared with the user in the Organic Groups that the user is a ...
0
votes
0answers
62 views

Solr related content and autocomplete not showing in bootstrap template

I'm making a bootstrap based theme on my site and all of a sudden the related content block from the Apache Solr is not showing anymore. I haven't changed anything yet on my drupal theme still i can't ...
0
votes
0answers
49 views

Conditionally available options in entityreference field

I have a content type, entityreference field (autocomplete), and two roles. How can I achieve this: First and second role, when creating a content, can choose only different subsets of possible ...
1
vote
1answer
263 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
46 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
1answer
70 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
135 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
318 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
343 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
37 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
46 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
323 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
228 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
1answer
48 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
85 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
984 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
107 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 ...