Displaying 20 results from an estimated 3000 matches similar to: "Hrm, :after on auto_complete_field helper ?"
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") %>
<%=
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
2006 May 23
2
auto_complete_field help
Not sure what I am doing wrong. Here is what i am trying to do (code
to follow).
I have a form to create a new book. This book can have many authors
and I wanted to be able to add the authors based on if they appear in
the authors table. I originally was going about it a long and arduous
way where I had several forms. After thinking about it I decided to
dynamically add new fields to
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 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.
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 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
2005 Jan 10
2
Vmail.cgi - "Hrm, can't seem to open /var/spool/asterisk/voicemail ....
Hello everybody,
I was trying to install a web interface to my Voice Mail, Vmail.cgi
I can log on it, list messages, but no play with the following error msg;
"Hrm, can't seem to open /var/spool/asterisk/voicemail/default/234/INBOX/msg0001.WAV"
Remark: playing the message msg0001.WAV directly OK
Any smart guy up there could help ?
Thanks,
---------------------------------
Do
2006 Mar 17
1
Autocompleter.Local problem/desparate plea for help...
I have been trying to write a selector function for Autocompleter.Local that
will show a predefined Array and will scroll automatically to the first
match. I have had success with with getting my list to populate and show
all of the choices, however I cannot get it to scroll to the first match.
Since I build the JS Array I can know exactly how many items are in the list
going into my selector,
2008 Dec 25
5
Plugin auto_complete
Hi all !
I began to develop Rails applications with Aptana Radrails under
Windows. For that I had successfully installed auto_complete plugin and
succeeded to use it.
Now I have an iMac and I''m trying to restart my developments under OS X.
My problem is: when I run the command ''script/plugin install
auto_complete'', the result is:
Plugin not found:
2007 Jan 19
0
About that auto-complete select box ...
Cross posted from the "RoR:Talk" board...
This is more a CSS question than a Rails one.
In AWDwR, in the script.aculo.us section talking about auto-completion,
it says
"It is worth highlighting that there is no JavaScript to enable the
arrow-up, arrow-down, highlight behavior of the list. It is enough to
provide the stylesheet above; it turns out that all <ul> tags support
2010 Mar 19
2
auto_complete plugin on rails 2.3.5
Hi, this is my first post.
I have run:
$ ruby script/plugin -v install auto_complete
but the result is:
Plugin not found: ["auto_complete"]
#<Errno::ENOENT: No such file or directory - /dev/null>
I have also try to run:
$ ruby script/plugin -v list
and the result is:
Discovering plugins in http://dev.rubyonrails.com/svn/rails/plugins/
/CHANGELOG
/account_location/
2006 Feb 27
2
Ajax - from there to here
Trying to use Amy Hoy''s ajaxariffic auto_complete methodology and I am
getting really close to the end.
This is fairly complicated but I will simplify as best I can.
My view code is simple...
<%= text_field_with_auto_complete ''client'', ''wholename'' %>
# wholename is not a column in ''clients'' but rather represents an
2006 Feb 26
2
auto_complete on steroids
I am trying to get more out of auto_complete than it apparently was
designed to deliver.
My problems seem to be two fold.
1 - I use aggregations on
names... :first_name, :middle_initial, :last_name and then aggregate
them using a composed_of :wholename thing
auto_complete_for seems to be wired to only use table columns directly
and gags on the aggregate form.
2 - foreign table columns -
2006 Jan 29
1
returned values and consequent usage
I think I can have finally reduced my problem to something somebody can
help me with.
I am using auto_complete...
specifically the form command is...
<%= text_area_auto_complete_for :case_manager :name %>
I need to use the value derived here in my controller...
If I use...
cm = CaseManager.find(:first, :conditions => "name = ''Thomas E Dewey''")
it works.
2007 Nov 11
3
Scrollable selectbox for auto complete
Hi everyone,
I have used used scriptalicious for the autocomplete.
It works but with one problem.
When scrolling down the list, the values not visible are not scrolled
into focus.
eg I use the keyboard down or up key.
Here is my CSS
<style type="text/css">
div.auto_complete {
height: 100px;
width: 350px;
background:
2003 Aug 22
10
Intresting.. hrm
And it runs linux.
http://www.zip4x4.com/ZIP4x4.htm
Anyone seen one?
bkw
2009 Apr 19
2
Upgrading from Rails 1.3.x to 2.3.2 - text_field_with_auto_complete not working
Folks,
I am trying to upgrade code base from 1.3.x to 2.3.2 and not
surprisingly, lot of things are broken.
''text_field_with_auto_complete'' is not working for me - it gives the
following error:
ActionView::TemplateError (undefined method
`text_field_with_auto_complete'' for #<ActionView::Base:
0x7f0ceb6b8290>)
I already have installed auto_complete -
ruby