Forum: Ruby on Rails tie checkbox to data field

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.
John G. (Guest)
on 2007-07-31 20:42
hi, i'm still learning, but how would you tie a checkbox to a data
field?

example code...

<%= start_form_tag :action => 'create' %>

    <%= check_box_tag :my_check_box %>

<%= end_form_tag %>
This topic is locked and can not be replied to.