Displaying 2 results from an estimated 2 matches for "mesdosag".
Did you mean:
mesdosage
2006 Jun 04
0
RE: Rails Digest, Vol 21, Issue 64
> From: Craig White <craigwhite@azapple.com>
> Subject: [Rails] passing a value in a hidden field inside a form
> To: rails@lists.rubyonrails.org
> Mesdosage-ID: <1149428769.713.5.camel@lin-workstation.azapple.com>
> Content-Type: text/plain
>
> should be trivial but I can''t figure this out from api
>
> <%= hidden_field ''certifications'', ''personnel_id'', {value =
> #{@personnel.id...
2006 Jun 04
3
passing a value in a hidden field inside a form
should be trivial but I can''t figure this out from api
<%= hidden_field ''certifications'', ''personnel_id'', {value =
#{@personnel.id}} %>
I want to pass the value of ''id'' field in my form to the certifications
controller as personnel_id
Craig