search for: auto_complete_result

Displaying 7 results from an estimated 7 matches for "auto_complete_result".

2006 Aug 01
0
Custom Autocomplete Field - Making a field lowercase
...pear in the autocomplet drop down list. First i customised the controller. In the render line on the controller it is saying "i want to use locality on each of the @items". So locality is what i want to humanize". My ideas so far is to: Customise the PostCode object so that when auto_complete_result trys to call item.locality, but i''ve tried overridding both def locality and def[] and it doesn''t seam to work. The other idea is to create a rhtml template that generates the auto_complete_return.. but I have no idea how to do that. Here''s the code: View: <%= tex...
2006 Feb 28
2
acts_as_taggable and auto_complete
I''m using the acts_as_taggable gem (who''s site has gone AWOL apparently) and I''m wanting to make it autocomplete. I, however, am the absolute worst JavaScript person ever, so is there anyone out there that can point me to a tutorial or give some good starting points? Thanks! Kenneth -- => the blog from beyond <= => www.eyeheartzombies.com <=
2010 Jan 07
1
text field with autocomplete
...I got this error. POST http://localhost:3001/posts/781/auto_complete_for_tag_name 404 Not Found 81ms *** POSTS controller: *** def auto_complete_for_tag_name @tag = Tag.find(:all, :conditions => ["name LIKE ?",#{params[:tag][:name]}%"]) render :inline => "<%= auto_complete_result(@tag, ''name'') %>" end *** posts NEW and EDIT view *** <div id="add_tag"> <% form_remote_tag( :url => {:controller => :tags}, :html => {:id => ''tag_form''}) do %> Name: <%= text_field_with_auto_complete :tag, :...
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 Jan 19
0
auto_complete_for_text_field to association
I am trying to set the association using an auto_complete_for field. message -> person To be user friendly, I want to display the person''s name in the text field, while setting the association id after selecting them from the auto_complete_results. To far I get some of it to work, am only get the 1st associattion_id no matter what item I am selecting from the results. The only reference I have seen on the list, is using on_hide, which has not worked for me. Has anyone else used this technique? Any tips? -- Posted via http://www.ruby-...
2009 Sep 23
4
auto_complete text field not showing drop-down box properly
This may be more of an Ajax question than a Rails question, but I''m pretty new to Rails and know approximately zero JS. I''d love if someone could give me a little direction. I''m using pat shaughnessy''s nested text_field_with_auto_complete plugin, and it seems to be *mostly* working properly (after many hours of fiddling). However, the drop-down box is not
2006 Oct 23
10
text_field_with_auto_complete
Hi,all I''ve used text_field_with_auto_complete for a while but still haven''t figured out how to store the value that I selected from the suggested options. any hints? Thanks! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: