Predefined suggestions fetched using AJAX.

learn more… | top users | synonyms

0
votes
0answers
28 views

Autocomplete adds [nid:<nid>] to node references

I am using the References module for my content types. There are two content types: A and B. Nodes of one type have a reference to nodes of the other type. I have a node titled ABC and I want to ...
1
vote
1answer
9 views

How to sort autocomplete results by post date?

I have a content type named "News" which contains a node reference field named "Related News" in autocomplete mode. Does anyone knows how to sort the results when i write something? I need to get the ...
0
votes
0answers
15 views

How to set value to auto-complete field after form submission?

I have a dependent auto-complete form field in my custom module. After submission the form the auto-complete field shows above the result output. Now I want that submitted value should become default ...
0
votes
0answers
32 views

How to alter entity reference autocomplete field drupal 7

I have a node which have entity reference autocomplete widget field. I am referencing node of particular content type. But when I come to select node from entity reference field it shows all node ...
0
votes
1answer
22 views

Callback function on block

In order to create a search block with autocomplete, I'm trying to use a callback function. But it doesn't work with my module. This module is implemented on my homepage which is ...
0
votes
1answer
49 views

An AJAX HTTP request terminated abnormally During auto complete text box in Drupal

I have autocomplete textbox which populate the suggestion based on search text. Steps:- User type in search text box. User press enter instead of waiting for autocomplete ajax to respond It comes ...
1
vote
2answers
36 views

Apache Solr own grouping in autocomplete

The apache solr autocomplete module don't work for me. I try to achive a relative complex autocomplete, my target is to achive this on the autocomplete: Search for "searchword": -Facet for ...
0
votes
0answers
25 views

how to fill some fields depent on the value of a list box

remember the create password page of Drupal! while you are entering characters it tells you how string is your password! now I want to have something like this in a list box but a bit different. I ...
0
votes
2answers
19 views

How to show filtered content as suggestion of “reference autocomplete field” based on a field value of reference content

Say, one content type is "CONCEPT" and it has a field named 'STATUS'. Another content type is "Article" and it has a node-reference auto-complete field named 'CONCEPT FROM'. Now I want to see only ...
0
votes
1answer
31 views

Auto Increment value for field collection

I have a field collection group to which I am importing values using Field Collection Feeds Importer. This requires a unique identifier field within the field collection. This has posed an issue where ...
0
votes
0answers
23 views

Pretty Tag display for entityreference (autocomplete)

I'm using entity reference and entity reference autocreate to make entities on the fly if they don't exist. Works like a charm. Now I would like to make a nicer tag display. The standard comma ...
0
votes
0answers
43 views

How to auto create taxonomy terms?

In one of my custom modules a bundle of a custom entity type has a taxonomy reference field. I am using Autocomplete Deluxe for managing tags. I want Drupal to add terms to the vocabulary if they ...
0
votes
1answer
19 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
1answer
41 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
25 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
24 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
33 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
50 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
25 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
11 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
112 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
85 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
42 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
77 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
32 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
85 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
191 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
81 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
94 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
58 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
237 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
16 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
60 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
13 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
42 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
44 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
68 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
31 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
244 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
52 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
373 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
36 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
149 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
209 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
44 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
72 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
67 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
406 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
51 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. ...