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.
7fbd0e99b27064b14793f028022974e5?d=identicon&s=25 Zhao Yi (youhaodeyi)
on 2009-01-10 07: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?
9cf6e7f81d4339295b86e5fb7d7df49b?d=identicon&s=25 Vishwanath Nayak (nayak)
on 2009-01-10 08: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.