similar to: auto_complete_field help

Displaying 18 results from an estimated 18 matches similar to: "auto_complete_field help"

2008 Jan 03
0
remote_form_for with auto_complete_field
Hi friends I have problem with auto_complete_field. I have used auto_complete_field with in the remote_form_for. But when we enter the text in auto_complete_field two actions are calling 1. auto_complete_field action 2. remote_form_for action I need to restrict the form action when we enter text on auto_complete_field Could u give any ideas? <div
2005 Dec 20
1
Can''t use mouseover with auto_complete_field
Good afertnoon. I''m trying to use a mouse over event: Event.observe("name_auto_complete", "mouseover", function(){alert("auto_complete")} ); with the auto_complete_field bellow. <%= text_field_tag("name") %> <%= content_tag("div", "", "id" => "name_auto_complete") %> <%=
2005 Dec 21
1
How do you use :on_hide in auto_complete_field?
I''m trying to get some auto_complete_field stuff going, and I have them working for the most part, but I can''t quite get how the :on_hide option works. I''m hoping that I can populate a hidden field with the id of the chosen record with it...is that going to be possible? Thanks for your help. -- Posted via http://www.ruby-forum.com/.
2006 Aug 10
0
Hrm, :after on auto_complete_field helper ?
Okay, urm, here is the problem :) I have an auto_complete field that gets back a set of three values, so, ideally, I thought I would put the :after tag on the auto_complete_field, use a little custom javascript function that splits it up and flings it into the other values, except, call me stupid, but, auto_complete_field doesn''t have an :after tag ? At least, I can''t see
2006 Mar 10
0
auto_complete_field, :on_hide woes
Hi, I have auto_complete working generating a list and populating a text box in a form. The problem arises when I add the :on_hide option as follows: <%= auto_complete_field "search", { :url => {:action => "search"}, :on_hide => "foo($(''selected_uid''), $(''search_list''))"} > %> :on_hide makes everything stop
2006 Feb 27
0
auto_complete_field Vs text_field_with_auto_complete
Hi, I want to know which of the two methods, auto_complete_field and text_field_with_auto_complete best suits what I am trying to do. I have a model class called search (which doen''t extend ActiveRecord) which holds two parameters, category_string and postcode_string. I want my form to bind its values to these to values. I also want the category input to be an auto complete field
2010 Jan 09
0
auto_complete_field does not update display:none
Hi, text_field_with_auto_complete works. auto_complete_field almost works, the only problem is that it does not update the display:none default attribute of the div that receives the results. So the results are there, but I can''t see them. I compared both html, and they look the same. Only CSS differs, but updating the display:none should only happen in the javascript code. Who ran
2006 Jun 02
2
pass extra value through text_field_with_auto_complete?
Hi, I''m wondering if it is possible to pass an extra value (which I will use to further restrict my query) using text_field_with_auto_complete? Any suggestions would be appreciated! -Mike
2006 Jul 14
1
auto completion with composite field
How can auto completion be done for a composite field ? Concrete problem : Suppose the class Person with reference to a City object. The City has a name and a postal code. When entering a Person I want to enter the city in one text field that shows a composition of the city name and the postal : "city (postal)". And this with auto complete (and should afterwards be linked to the
2007 Aug 08
1
autocomplete field in ajax response html - css does not get applied.
Hi all, I have a page in which a div is updated with some html via Ajax. The returned html contains an autocomplete field. The autocomplete field works but the drop down results div does not get css applied to it so the selections don''t get highlighted when I use the up/down arrows and so I am unable to select from the drop down except for the first item. I have been looking at this in
2006 May 31
3
textfield_with_auto_complete - filling two fields
I am going nuts here.. I have a form where users can write a city name (used with auto_complete) - and once they click on the desired city in the dropdown menu - I would like to have the Country field filled automatically as well... Is this possible at all ? If so, can somebody please tell me where I can find some documentation on the subject, or preferrably an example ? Many thanks in
2006 Nov 07
1
Memory consumption too high
Hi, I''m having trouble with ferret and AAF blowing up with a NoMemoryError. Sometimes when I add documents inside my rails app. Ferret starts consuming huge amounts of memory. I''m on a machine with 2GB of memory and it still runs out of memory. Sometimes I''m able to run MyObject.rebuild_index and the memory doesn''t move up at all. However, sometimes it
2006 Apr 13
1
How to implement this kind of autocomplete?
The field is used for tag name input,and multiple tag names can be inputed. The traditional textfield_autocomplete will not work after select the one from the pop menu,how to continue with the autocomplete if i want to go on with the field inputing? -- Posted via http://www.ruby-forum.com/.
2006 Jan 23
0
Indexed Text Input -> Ajax with Helpers
Hello again. I can get my input forms doing what I want using the '':index => object_counter'' syntax which is very nice. However, the Ajax text_input_with_auto_complete seem not to be able to account for the :index. I can see in the source why this is the case. I have a workaround that is an ugly kludge. I am wondering if there is any less-ugly kludge that I can try.
2006 Feb 16
2
Autocompleter question
Hey all, When using the Ajax.autocompleter, how would I configure it so that the user is searching based on an entry''s name, but once they select an entry, I record the ID? I have the user entering a person''s name in a text box to make it easier to find contacts in a large database. I know that I can display content that doesn''t end up in the textbox by using
2006 Mar 09
15
regular expressions slay me
I am furiously trying to find what I am looking for in Pickaxe book and not finding it. I''m getting some values back from a posted form and I need to get the ''id'' number off the backend. The ''String'' will always come back to me as... Some_name\r\n123 where 123 is actually the id number which I need to execute the find. The reason they are coming back
2007 Nov 15
4
Ajax.InPlaceEditor: controls.js update
I''m not sure if this is a bug or not, but I had to patch controls.js file to accommodate the idea that I had planned. I had to combine Ajax.InplaceEditor and AutoCompleter for a "tagging" feature at my office. With the autocompleter, I need to target an INPUT FIELD by ID. However the generated INPUT field from the Ajax.InPlaceEditor did not include this attribute in
2006 Jan 25
7
join fields for list views
I am sitting with the Agile book on my desk and scratching my head at the discussion on aggregation - perhaps that isn''t what I need. I have a db called clients. fields include - first_name middle_initial last_name I want to combine them all into one name element in a list view. I can add/edit the fields separately but in the list view, I only want the one combo field. Is there a