Forum: Ruby on Rails Re: beginner - default form values

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
85d195de311934aa4b9cbf073089260a?d=identicon&s=25 unknown (Guest)
on 2006-04-28 08:41
(Received via mailing list)
the options for text_field_tag are
name, value, html_options

so

text_field_tag 'my_text_field', :value => field_value_variable

If you need more info, have a look at api.rubyonrails.com
This topic is locked and can not be replied to.