Forum: Ruby on Rails observe_field on hidden field

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Kad K. (Guest)
on 2007-02-22 11:00
I have an observe_form running well ...

<% form_tag ... %>

<%= hidden_field_tag :contact  -%>
<% end -%>

<%= observe_form('display_networkForm', :url => {:action =>
'display_rnetwork'}, :submit => 'display_networkForm' ) -%>

Inside this form, I need to have an Ajax request (link_to_remote,..) to
update the hidden field
but when the hidden_field is changed this doesn't fire up the observer
to submit the form

any trick ?


This topic is locked and can not be replied to.