Predefined suggestions fetched using AJAX.

learn more… | top users | synonyms

0
votes
1answer
23 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
41 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
16 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
30 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
50 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
21 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
0answers
25 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
16 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
140 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
12 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
36 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
21 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
8 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
17 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
24 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
34 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
13 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
73 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
28 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
67 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
28 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
96 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
129 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
33 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
53 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
26 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
149 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
39 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
48 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
123 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
249 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
257 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
36 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
41 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
255 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
179 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
34 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
56 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
704 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
87 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
32 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
35 views

Restricting the term reference field from creating a new vocabulary term [duplicate]

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
40 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
30 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 ...
6
votes
2answers
840 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
57 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
71 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
112 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
84 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
131 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 ...