Accessing fields from observe_form AJAX request

hmmm… I am little lost… I have the following form:

Job Type
<%= select ("JobType", "id", JobType.find(:all, :order => "priority").collect {|jt| ["#{jt.name}", jt.id] }) %>
Job Status
<%= select ("JobStatus", "id", JobStatus.find(:all, :order => "priority").collect {|js| ["#{js.name}", js.id] }) %>
<%= 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
sugestions?

params[:JobType][:id]?

Please help :slight_smile:


John K.
[email protected]

http://www.kopanas.com

http://www.soen.info