Predefined suggestions fetched using AJAX.

learn more… | top users | synonyms

0
votes
0answers
14 views

term reference custom autocomplete field only populated with first data item

All, We added a custom field to the user profile called "interests and skills", with type Term Reference, widget type Autocomplete term widget (tagging). The vocabulary assigned to that field exists ...
1
vote
0answers
6 views

Term Reference Autocomplete field that searches fields besides name

Is there any way to have a term reference autocomplete field search other fields than just the title? In my case I have a organizations vocabulary with the taxonomy name and an acronym. The main ...
1
vote
0answers
25 views

Autocomplete field invisible

It seems like my data inside the autocomplete field is invisble for non-admins. I tried targetting the autocomplete with CSS but nothing seemed to work #autocomplete li:hover, #autocomplete li:...
1
vote
0answers
33 views

Show more in Autocomplete reference content than the title (id)

In the Edit Content Page I try to see in the autocomplete field of type reference not only the title (node reference + ID) but also another field of my chose. Can I do that in Drupal 8 trough a view? ...
1
vote
1answer
9 views

Restrict vocabulary on entity_autocomplete form field targeting taxonomy terms

I'm creating a form with an entity_autocomplete field targeting taxonomy terms, and I would like to restrict it to a certain vocabulary. Is there a way to do that with '#selection_settings'? I can't ...
0
votes
0answers
10 views

Autocomplete won't work for entity reference field unless User > Administer Users permission is granted

Drupal 8 I have an entity reference field (users) on a node, and the autocomplete suggestions won't show unless the User > Administer Users permission is granted to the role. I'm trying to let event ...
0
votes
0answers
12 views

Turning on autocomplete in View gives validation error

I have a view with an exposed filter that references a field from a relationship. The filter works fine if I simply type in values. However, if I turn on autocomplete for the filter, the view no ...
1
vote
1answer
28 views

How to use autocomplete text field in fieldset?

I want to use a textbox with autocomplete features. I have gone through the drupal form API and found the solution at here. It's working fine if I am using this directoly in the form fields. But it'...
3
votes
1answer
48 views

How to change the autocomplete for a user reference to show First/Last name instead of username?

I want to add a user reference field to an "event" content type, and reference the user who will present. But I wonder how to change the entity reference - I've tried using the "filter by an entity ...
0
votes
1answer
23 views

Search API Solr Autocomplete no results when more than x Nodes indexed

I encounter a strange behavior on a site I'm working on. I use Search API views exposed form for autocomplete. My nodes reference nodes of another content type. The title of this referenced node's ...
0
votes
0answers
18 views

How To Alter Nodequeue or EntityQueue search Autocomplete

I want to use nodequeue or entityqueue in Drupal 7 and want the autocomplete search for a given queue to use a custom field other than the node title. Is there a way to do this without hacking the ...
1
vote
1answer
37 views

Create a View which shows Nodes AND Taxonomy Terms

I am working with Search Autocomplete to create a suggestion list which includes nodes and taxonomy terms. Is there a way to include both entity types within a single view? Thanks for your time.
2
votes
4answers
145 views

Adding autocomplete for text-field

I tried to implement an autocomplete in text-field for drupal 8 in my custom module all I wanted was to fetch and display the likely title I typed via autocomplete so declared a public function ...
0
votes
0answers
24 views

Taxonomy Autocomplete - field not found

If I understand correctly field_info_field loads field information from cache. The problem occurs when trying to reach a taxonomy autocomplete for field abc:def where abcis a field collection and def ...
0
votes
1answer
12 views

How to get Address Field to display correctly with Autocomplete?

I want to create a postal field for addresses in the Philippines. I have set up a sandbox site with a content type that has just one field, of type addressfield and using the autocomplete widget. ...
0
votes
1answer
80 views

Custom autocomplete field

I am trying to create an autocomplete field for users. The following code is fine for username searches but the requirement is for a search by any part of the user's first and last name. $form['user'...
0
votes
1answer
37 views

Can phpStorm autocomplete method in Drupal::service?

Are there anyway to get phpStorm to autocomplete \Drupal::service("xxxx")->.. [https://api.drupal.org/api/drupal/core!core.services.yml/8 For complete reference of Drupal8 service 1 For example ...
0
votes
1answer
21 views

AJAXX AutoComplete joins and unions causing error

I am a bit out of my depth here. I have successfully implemented my own autocomplete field of an entityform, the following link was my roadmap Textfield that uses AutoComplete. But I am trying to do ...
0
votes
0answers
19 views

Differentiating multiple exposed filters on same page

I have been struggling with this issue and this thread shed a lot of light on the issue I'm fighting. However, unlike in the question above, I have two exposed filters from the same view on the same ...
1
vote
1answer
37 views

Facetapi combined filter of city and zip code

I am using address field module with search api and facetapi modules. I want one filter of two fields, city and zip code. Which will be an autocomplete field. I have used the Search API Combined ...
0
votes
0answers
35 views

Set Values in Term reference autocomplete deluxe fields

I am using Taxonomy auto complete deluxe module widget for term reference field. I have requirement to set some default values for the field, I tried below $form[field_name][LANGUAGE_NONE]['#...
0
votes
2answers
31 views

Parent term suggestion on entering the child term in term reference field?

I have a term reference field which has the widget Autocomplete term widget (tagging). I want the functionality like, when a user type a child term in that autocomplete field, the system should return ...
1
vote
2answers
111 views

How to enable Database search & autocomplete live search?

Found a great article of how to enable live search on drupal 7 http://www.stevepolitodesign.com/blog/create-live-search-results-search-you-type-drupal But seems all modules are not yet available for ...
0
votes
1answer
26 views

8 autocomplete pass current value to function

I am trying to use autocomplete in a custom form, but I don't know how to pass the current value of the field to the autocomplete function. This is my form element: $form['gs_name'] = [ '#type'...
0
votes
0answers
21 views

Node reference - Autocomplete - title + fields in the autocomplete HOW TO [duplicate]

2 content types : node type A. node type B. referencing node type A. Most of the type A. nodes share the same title but aren't the same at all. I need to add some fields in the autocomplete ...
0
votes
2answers
61 views

Form API: Autocomplete Field in Chrome and Safari

I'm working on a custom webform component to essentially look up entity properties in an autocomplete field. All works perfectly in Firefox, but I'm just seeing an plain old textfield in Chrome and ...
7
votes
2answers
524 views

Show node IDs along with titles in Entityreference Autocomplete list

I'll like to add this functionality to the autocomplete widget in Entityreference field to show node ID next to the titles in the dropdown list. The reason behind the idea is to differentiate between ...
0
votes
0answers
21 views

Autocomplete fields: Append items to the field, not replace?

I have a form with an autocomplete field that pulls items from a taxonomy. I'm using a Bootstrap theme on the site, but things are otherwise ordinary. The field works, except that when I select a ...
1
vote
0answers
52 views

Drupal 7: #autocomplete_path save id to hidden field

Basically I have the same problem as described here: Drupal 7: autocomplete return nid and name, change behaviour. I have a text input with ajax autocomplete: $form['rmanager_id'] = array( "#...
0
votes
0answers
14 views

View with Single Filter and multiple arguments combined with OR and autocomplete

I'm seriously working on a big problem. I have an autocomplete single filter exposed to users. This works fine :-) But i want to improve this filter to search with more than only one argument, ...
0
votes
0answers
13 views

Biblio module custom fields format

I'm using biblio module for a website in Drupal 7. I need to use custom fields for certain items and I need these custom fields to autocomplete therefore I set them up in the biblio field config page ...
0
votes
1answer
33 views

How can I get Autocomplete behave as in most of the sites out there?

I have a form built with FORM Api. It has a text field, with Autocomplete. I also have another form, with several fields, some of them with Autocomplete. It works well, but I have to press Enter Key ...
0
votes
1answer
35 views

Two Views with autocomplete filters display no result

I have 2 views-blocks with autocomplete filters, both filters are for the title field. And autocomplete filters display no result when the views are placed on the same page. How to make them to not ...
1
vote
2answers
196 views

How do I use the #autocomplete_route_name property?

I created a custom form and I want add a "users" reference field. I see here I must use the property autocomplete_route_name, but what value must I set? $form['project']['users'] = array( '#type' ...
0
votes
0answers
34 views

How do I enable autocomplete on fields inside tableselect

I have form which outputs tableselect. The tableselect have many textfields which should be autocomplete. The problem is that textfields never become autocomplete fields and even ...
0
votes
1answer
125 views

Autofill billing information on checkout page

I have placed billing information in the checkout pane. I want to autofill the billing information. There is a similar question in stackexchange Autofill billing Information on checkout page in Drupal ...
1
vote
1answer
28 views

Autocomplete field search start character limitation

How can I limit the number of characters on when the search starts send a request to the server?
1
vote
0answers
29 views

entityreference_autocomplete — Return list that contains

I am quite new to the D7 Form API, but nevertheless I've got the basics up and running... I have a custom content type (A) and I want users to be able to submit some Information, which in turn will ...
0
votes
1answer
16 views

Is it good practice to override simple db_query or EntityFieldQuery with a View

I am using several autocomplete fields in a form. To retrieve the data, I have used db_query for very simple queries, EntityFieldQuery for more complex, until I found one that is somehow convoluted, ...
0
votes
0answers
10 views

Scrollbars in Ajax Autossugest for form fields - Drupal 7

I have an autosuggest field in a form, and the list of suggested results is very long. The list goes outside the visible part of the browser screen. How can I add a scrollbars to the list?
1
vote
2answers
532 views

Add a “autocomplete” field in a buildForm

How do I add an autocomplete field in a class that extends FormBase? I created a custom module, which uses a class that extends FormBase. I want to programmatically create a form field that ...
1
vote
0answers
126 views

Text input with Autocomplete for facets field in search page using solr search api?

As my terms and values for multi-valued fields are growing, search page is taking too much time to load all values under facet filter. In order to improve the performance and give better User ...
0
votes
3answers
402 views

Address field module autofill city and state when zip code is entered

In the United States, cities are split up by a unique 5 digit zip codes (postal code). This postal code in turn tells what city and state it is from. Therefore it is redundant to type the city and ...
0
votes
1answer
163 views

How to strip html from Elasticsearch and search API index?

I'm also using the search API autocomplete module. When I start typing, the autocomplete shows fields with html code. What settings do I need to set to get the index to store correctly?
1
vote
0answers
74 views

How to get autocomplete text widgets running on an iPad?

I have a form with a couple of standard Drupal autocomplete text widgets, which work fine in desktop browsers. However, they don't work in iPad/Safari -- the text field works properly, but I don't ...
1
vote
0answers
17 views

User relationship ignored in autocomplete entity reference view

I have a content type called "games". I also have a rol for users named "players" and another "trainer". Each player and trainer has a "team" also. This is very simple: when the user (a trainer) adds ...
1
vote
3answers
168 views

Can the Autocomplete delay be lowered in forms - Drupal 7

I have seen that the autocomplete widget in Forms API is started when I finish typing, or when there is a delay between one key hitting and the next one. Could it be configured so it is launched as ...
0
votes
0answers
419 views

How to resolve the jQuery error in the Search Autocomplete module?

I've just installed the Search Autocomplete module on my Drupal 7 site and try to get it to work. For this I also installed the jQuery update module and put it on jQuery 1.10. I didn't change any of ...
1
vote
0answers
40 views

Views Exposed Hierarchical Term Reference Autocomplete

I am trying to get the widget from this module https://www.drupal.org/project/term_ref_autocomplete to be available as the autocomplete widget for a taxonomy exposed filter on a view So far I have ...
1
vote
0answers
19 views

How should the search autocomplete module be configured to recognise spaces?

We're using the Search Autocomplete module to power a site search for users. Unfortunately, it doesn't like spaces in the username. Has anyone faced this and found a simple solution?