Forum: Ruby on Rails How can I get other field value?

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.
Zhao Y. (Guest)
on 2009-01-10 08:35
I use this code to get other field value:

<%= hidden_field_tag 'project_version_select',

but I got compile error. How can I get the value?
Vishwanath N. (Guest)
on 2009-01-10 09:15
(Received via mailing list)

You need to add the hidden_field first without a value and then set the
value of it using script tag


On Sat, Jan 10, 2009 at 12:05 PM, Zhao Yi

> >

This topic is locked and can not be replied to.