Predefined suggestions fetched using AJAX.

learn more… | top users | synonyms

0
votes
1answer
33 views

Is linking to autocomplete results possible?

When users search a member profile using Views autocomplete exposed filter text field, is it possible to link the result values? Suppose we are searching some 'XY' user. The results appear as ...
1
vote
1answer
25 views

Form is not rebuilding on “Add another item” in unlimited value entity reference field

In a content type I have a field of type 'entity reference', 'auto complete' widget with unlimited values. The whole idea was to give user an option to add referenced node items but only once, Hence ...
0
votes
0answers
11 views

Exposed views filter, OG reference, autocomplete

I have a bunch of OG groups (Manufacturers) and a bunch of nodes (Products) which have an og_group_ref back to the appropriate group. I'm creating a catalog of products using views and want to be ...
0
votes
1answer
46 views

Styling the autocomplete dropdown to work with the up/down arrow keys

The following custom styling for drupal core's autocomplete dropdown works when hovering, but it is ignored when using the up/down arrow keys. (Currently, pressing the arrow keys only turns the text ...
0
votes
1answer
73 views

create node with taxonomy field using services in drupal 7

I am creating node from my android app using services 3. I hit this url www.mysite/endpoint/node with the following json: {"title":"my act for ...
0
votes
0answers
28 views

Search Autocomplete - specify suggestion source

I try to enable the search autocomplete module for the default D7 search form. Unfortunately I am no coder which is why I have some trouble specifying the suggestion source in the configurations. In ...
0
votes
0answers
27 views

Extra loading icon in Drupal form

I have created a custom form using (Drupal form API) , it has email field as autocomplete. For some reason there are two loading icon in the email field. //implements hook_menu function ...
0
votes
1answer
38 views

Ordering results for D7 form autocomplete fields

I've done the cursory Googling but so far haven't found anything close to an answer for this. I'm using the Masquerade module with a custom module on top to extend it and make its searching ...
0
votes
1answer
74 views

Make autocomplete window appear above accordion pane

I have created a node add form using the field group module to put the form in a jQuery accordion. I have a auto-complete field that is at the bottom of one pane so the div that appears that lets ...
1
vote
0answers
93 views

How to add autocomplete filter for multi value entity(USER) reference field?

I have enabled VIEWS AUTOCOMPLETE FILTER module. I have a field : field_assigned_user which is user reference field and field settings is set to unlimited values. I have created a relationship entity ...
0
votes
1answer
42 views

Control number of autocomplete results in drupal?

Is there any way to control number of results in an autocompleted field in drupal?. Usually node reference autocomplete fields provide 10 results, i want to increase the count, is there any global ...
0
votes
0answers
37 views

Drupal 7 Search Autocomplete module never loads “suggestions”

I am attempting to use the module Search Autocomplete 7.x-4.0-alpha2. I have added a form in the "search_autocomplete" configuration section. It is enabled. I created a view that returns taxonomy in ...
0
votes
0answers
144 views

Autocomplete field - fill the selected id into another form element (eg. hidden field)

this was already asked here Handling id from autocomplete field but still without answer: I have an autocomplete field which uses geonames query to search cities. After value is selected I want the ...
0
votes
2answers
83 views

How to get a field in a exposed filter criteria as an autocomplete?

In a view the field which has widget autocomplete does not get an option to select as dropdown or autocomplete in exposed filter criteria. I have a field in a content type which has following ...
0
votes
0answers
79 views

Entity reference with taxonomy term selection

I'd like to make an entity reference autocomplete field where I can only select the options which have a certain taxonomy term attached to it. Example: I have a sports player who belongs to a ...
1
vote
0answers
71 views

how to change the size of an exposed filter autocomplete form?

the source shows: <input id="edit-field-location-taxonomize-terms-tid" class="form-text form-autocomplete ctools-auto-submit-processed" type="text" maxlength="128" size="60" value="Germany" ...
0
votes
1answer
39 views

Where is the CCK autocomplete widget field php configuration code stored?

I have run myself into a serious problem. I have a custom CCK datatype in Drupal6 in combination with an autocomplete widget on a text field. I have defined php code in the web configuration for the ...
2
votes
1answer
196 views

How does drupal autocomplete textfields work?

I am asking this question because I have an autocomplete text field with #autocomplete_path set to a valid working path but key events are not handled by the misc/autocomplete.js file. When the form ...
0
votes
0answers
220 views

Autocomplete text field's key events are not triggered and keydown or keyup function's aren't invoked in misc/autocomplete.js

I created an autocomplete textfield using Islandora form builder module. What it does is use an xml file to define form elements rather than the form array. So the xml text field element looks like ...
0
votes
0answers
45 views

Search Api Autocomplete doesnt filter by language

We're using Search API Autocomplete https://drupal.org/project/issues/search_api_autocomplete with Search API 7.x-1.9 https://drupal.org/project/search_api on a site set up with Solr (Websolr) ...
0
votes
0answers
165 views

Search API autocomplete for custom search

Rephrased question: I want to add autocomplete to a form using the Search API autocomplete module. I have Search API + Search API SOLR running but without Search API Views or Search API Pages. The ...
0
votes
1answer
181 views

AJAX callback fails using form_alter on two fields

I have content type with two text fields field1, field2 so i'm using hook_form_alter() to alter my form and i'm added for the first field #autocomplete_path path #ajax callback and wrraper and ...
0
votes
2answers
51 views

Check for existing node titles [duplicate]

Is there a way to Add autocomplete to Node Titles? This way I could display duplicate content to users before they add a new post. If any one has a idea i would love to hear it. Thanks in advance.
0
votes
1answer
33 views

Differentiate between same nodes in Drupal Autocomplete Search

I have implemented Autocomplete Search functionality. Autocomplete suggestion will be available based on characters typed in textbox. When user selects a suggestion then user will be navigated to the ...
0
votes
1answer
36 views

#autocomplete_path doesn't present a “spinny thing”

I'm working on adding an autocomplete field to a node edit form using hook_form. The field should not be stored in the database; hence the reason I am not adding a field to the node itself. I seem to ...
0
votes
0answers
79 views

Redirect to Autocomple suggestion without showing Node id in search textbox

I have a search form which contain a Textbox only. When user types anything on Textbox then a auto-complete suggestion will open. User can select from auto-complete suggestion and then user will ...
5
votes
1answer
209 views

Facet API and Entity Reference Autocomplete

I have two content types, with Drupal 7 : City Job Offer, with an Entity Reference CCK field named "City" that accept Node Entities of Type City. I am also using the apachesolr module, with Facet ...
0
votes
2answers
554 views

Autocomplete several fields with values based on the selected value of an user reference field

UPDATE: the code is now cleaner and shorter. An autocomplete field triggers the ajax callback which reloads a field. The whole thing works for 1 field but I don't really know how to make it work for ...
0
votes
0answers
45 views

Customize existing widget autocomplete

I created a module for create a custom content type as /admin/structure/types with hook_node_info() and their fields with in hook_install() { foreach (types_fields('annonceur') as $field) { ...
1
vote
1answer
168 views

Autocomplete not working for Search API with Solr - Drupal 7

I have these modules installed with Drupal 7: search_api search_api_solr search_api_autocomplete There is a view configured for search results with exposed full-text search filter, based on the ...
0
votes
2answers
2k views

how to set value of autocomplete field and trigger search event with jquery

I am setting the value of an autocomplete field from a jquery event: $('input#edit-myfield').val(mynewvaluethatIwant) That works, but the associated drupal autocomplete search does not fire. My ...
1
vote
1answer
36 views

How can I edit my search box

I want to customize my search box. I want it to auto complete as I type and not to be case sensitive. What should I do to achieve this? Thanks in advance.
0
votes
2answers
144 views

Entity reference to user doesn't work without 'administer users' permission

EDIT: I have most probably found out the reason thy it works (or doesn't work actually) this way. The problem is that I don't have legitimate access to the user node that is being edited. I only ...
2
votes
1answer
22 views

Is there a way to make sure an autocomplete field as an actual match?

I have an entity reference field in a content type in D7 set with an autocomplete widget. This is a required field, however if you type in something that doesn't have a match, it will still submit and ...
0
votes
1answer
122 views

Handling id from autocomplete field

I have an autocomplete field that selects id,text data from db table. I want to show the text in the field but need to put the selected id inside a hidden field so that, when the user submits the ...
2
votes
2answers
189 views

Autocomplete field consisting of multiple fields

I am trying something that have been probably discussed already, but I can't seem to find it. I have a node reference field that I would like to use the "Autocomplete field" function with. However, I ...
1
vote
1answer
219 views

How do you theme an autocomplete dropdown

I'm trying to theme an autocomplete dropdown from a textfield. In this case the autocomplete is provided from the finder module. I need to theme it beyond just simply adding css. Ideally I'd like a ...
0
votes
0answers
92 views

autocomplete node reference field not fetching the id of the node

Auto-complete node reference field is not fetching the id of the node selected in the node. What extra code should be added so that I get id of the node selected in the field as it happens in case of ...
1
vote
1answer
125 views

How to make the autocomplete term widget (tagging) case-sensitive?

I notice that although the Autocomplete term widget (tagging) happily autocompletes terms with their right letter case, after saving the terms are changed to lower case. E.g. I have two tags "Drupal" ...
4
votes
2answers
471 views

Drupal 7 disable submit when pressing enter on an autocomplete field

In Drupal 7, when you are within an autocomplete field on a node edit form (in my case, it is specifically an entity reference autocomplete field), pressing the Enter key submits the entire form. How ...
1
vote
0answers
53 views

Auto-complete field not working

Auto-complete field not working. I am getting the result in the dropdown box but unable to select any dropdown option. This is the code:- function _questionnaire_autocomplete($string = '') { ...
0
votes
0answers
78 views

How can I display more than 10 results in the autocomplete dropdown of a node reference field?

I'm using the References module, but I think the limitation is coming from Drupal core. Basically I'd like to be able to display more than 10 results in the autocomplete dropdown when creating a ...
1
vote
1answer
196 views

autofill from taxonomy term fields

I'm trying to connect a field of a taxonomy term to a field in a content type, something like this: Auto-Fill from on content type to another I tried this on a node and it's working, but now I have ...
0
votes
2answers
108 views

Override autocomplete provided by module to not suggest current user(self)

I hope it's pretty clear from my question title itself. I want to override autocomplete provided by module such as privatemessage to not suggest the current user(self) who is trying to send message. I ...
0
votes
1answer
132 views

How do I remove gid from og_group_ref field's autocomplete?

At first I thought this was a job for hook_preprocess_field(); however, it then occurred to me that this field is populated by an ajax look up. Where might be the best place to remove the group id ...
3
votes
2answers
804 views

AJAX autocomplete based on other field value

I'm trying to implement an auto complete form with a little twist. I want its auto complete options to be limited by another field (text field to be more specific). I understand how AJAX API works ...
3
votes
1answer
69 views

in private message: also match last names in auto-complete of To-field

I am using the private message module and I do understand that one can use realname integration in the "To"-field to send a message. The auto complete feature helps finding the name. Suppose I want ...
1
vote
1answer
56 views

webform email field autocomplete

I can quite easily add ajax autocomplete properties to a regular textfield using the code below, but it doesn't work when I change the field to type "email". Is it possible to do? function ...
5
votes
1answer
546 views

Override entityreference autocomplete and return entityfieldquery output

Hi I am trying to override an entityreference autocomplete form item, I have managed to override the form, and get the arg passed to a hook_menu callback. However, I'm struggling with getting the ...
1
vote
2answers
301 views

AJAX autocomplete

I am trying to implement an auto-complete text field: hook_menu() { $items['products/autocomplete'] = array( 'page callback' => 'json_list_products', 'access arguments' => ...