Forum: Ruby on Rails observe_field on hidden field

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ee0293412faca21e4ebf3326ed9d5f8c?d=identicon&s=25 Kad Kerforn (kadoudal)
on 2007-02-22 10: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 ?

thanks

kad
This topic is locked and can not be replied to.