Forum: Ruby on Rails Accessing fields from observe_form AJAX request

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.
Ba79eb31ceaef95e9e52f5e5e4ec6d02?d=identicon&s=25 John Kopanas (Guest)
on 2007-01-15 17:18
(Received via mailing list)
hmmm... I am little lost... I have the following form:

<form name="form_options" id="form_options">
<span class="selecter">Job Type<br/><%= select ("JobType", "id",
JobType.find(:all, :order => "priority").collect {|jt| ["#{}",] }) %></span>
<span class="selecter">Job Status<br/><%= select ("JobStatus", "id",
JobStatus.find(:all, :order => "priority").collect {|js|
["#{}",] }) %></span>
<%= observe_form :form_options, :url => {:action =>
"save_job_type_and_status"} %>

In my controller I want to get at the JobType and JobStatus ids.  For
some odd reason trying all the usual suspects does not work.  Any


Please help :-)

John Kopanas
This topic is locked and can not be replied to.