<%= start_form_tag :action => ‘create’ %>
Worklogentry
<%= text_field 'worklog', 'worklogentry' %>
<%= hidden_field ‘worklog’, ‘stocksymbol_id’,:value=‘5’ %>
I am trying to add a default value 5 to the hidden field named
stocksymbol_id for the class worklog. somehow it is giving me error and
i am
stuck on this for whole of today.
Pl let me know where i am erroring
Regards
Seede
View this message in context:
http://www.nabble.com/add-a-default-value-to-hidden-field-tf2205903.html#a6109353
Sent from the RubyOnRails Users forum at Nabble.com.