Predefined suggestions fetched using AJAX.

learn more… | top users | synonyms

-1
votes
0answers
23 views

auto calculator [on hold]

i need to make a cost calculator like in this link. https://www.exporttrader.com/sh/calcfull i have three fields, origin and destination and transportation-cost. i want to preset the cost for ...
0
votes
0answers
15 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
12 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
9 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
16 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
35 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
28 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
48 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
22 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
47 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
98 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
35 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
42 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
27 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
158 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
13 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
42 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
22 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
9 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
27 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
29 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
49 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
17 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
113 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
32 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
134 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
29 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
111 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
164 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
36 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
57 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
40 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
200 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
43 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
55 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
131 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
287 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
291 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
45 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
293 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
205 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
45 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
68 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
859 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
103 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
36 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
36 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
46 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 ...