Predefined suggestions fetched using AJAX.

learn more… | top users | synonyms

0
votes
1answer
21 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 ...
0
votes
0answers
13 views

Views Auto Complete on Node Reference: Not getting “contains” [closed]

Having trouble trying to get autocomplete to work with a node reference and would appreciate any insight. I have two custom content types: Partners and Funding. The latter has a node reference to the ...
3
votes
1answer
30 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
20 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
13 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 ...
0
votes
1answer
33 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
119 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
18 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
8 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
67 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. ...
0
votes
1answer
31 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
16 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
35 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
26 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 ...
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
83 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
23 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'] = [ ...
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
55 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
448 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
19 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
46 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
31 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
164 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
41 views

Search Autocomplete only for selected content type

I am using modules Search Restrict with Search Autocomplete for my website search, I have restricted some content type for anonymous users, but when I type any words from restricted content type it's ...
0
votes
0answers
31 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
104 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
28 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
15 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
362 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
109 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
340 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
149 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
70 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
160 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
366 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
37 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?
2
votes
1answer
44 views

On Autocomplete empty

I'm working on a project that I need to display some help text to the user if an autocomplete text comes back empty. Right now, the autocomplete is on a custom form, and I'm using an autocomplete ...
1
vote
2answers
57 views

Highlight autocomplete suggestions Drupal 7

I have a text field in a form, with autocomplete on. It works very well, but I cannot manage to find a way to highlight the letters in the suggested works. I found this hack in the autocomplete ...
1
vote
2answers
178 views

Results of autocomplete field in form depending on another field - Drupal 7

I have an autocomplete field in a Drupal form made with Form API. It works great, suggesting the data from a db_query. However, I would like to alter this db_query depending on the selection made in ...
3
votes
1answer
358 views

What is the difference between “Autocomplete” and “Autocomplete (Tags style)” field widget type?

What is the difference between an "autocomplete" and an "autocomplete (Tags style)" widget. These options are present when I add an entity reference field for example.
1
vote
0answers
56 views

Autocomplete field not working

I am making a form with autocomplete fields and I am not able to make it work (using an example code from a tutorial). The strange thing is that when I test it in my local drupal installation (bitnami ...