search for: autocomplete_field

Displaying 2 results from an estimated 2 matches for "autocomplete_field".

Did you mean: auto_complete_field
2006 Apr 13
0
text_field_with_auto_complete and foreign characters
I need a form where the user must enter a city name. I would like to use an autocomplete_field for the city name, so I have the following code in my view: <%= text_field_with_auto_complete ''entry'', ''city_name'', :size => 40 %> and in my controller I have the method: def auto_complete_for_entry_city_name @cities = City.find(:all,...
2011 Oct 24
1
JQuery autocomplete example
...ata-autocomplete="/packages/autocomplete_package_brand" id="package_brand" name="package[brand]" size="30" type="text" value="Puppy Chow" /> </form> with a code reference of: VIEW <%= form_for @package do |f| %> <%= f.autocomplete_field :brand, autocomplete_package_brand_packages_path %> <% end %> and: CONTROLLER autocomplete :package, :brand Hate to do this but, "What am I doing wrong?" or "Where can I check next?" I''ve tried looking for more information on examples and/or use in Rails 3...