<%= start_form_tag :action => ''create'' %>
<p><label
for="worklog_worklogentry">Worklogentry</label><br/>
<%= text_field ''worklog'', ''worklogentry''
%></p>
<%= 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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---