I've implemented observe_field succesfully on other controls, but
never on a text field. For whatever reason, the following partial
never executes the action specified in the url of my observe_field
below.
Does anyone see what I am doing wrong here and how I can make that
action fire? Thanks, Janna B.
<% form_for current_associate, :html => {:name => 'whereaboutsform'}
do |f| %>
<%= f.label :inoutexplanation, "Hello <b>" <<
current_associate.nice_to_s << "</b> please update your whereabouts or
tell us what you're doing:" %><br />
<%= f.text_field :inoutexplanation %>
<%= f.submit "Update" , :class=>'button' %>
<% if current_associate.channel_id != nil and
current_associate.channel_id > 0 %>
<%= observe_field "associate_inoutexplanation", :url =>
{:controller => :channels, :action =>
'speakassfromwhereaboutspartial' }, :with =>
"'associate_inoutexplanation=' + value" %>
<% end %>
<% end %>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---