Discussion Forums
- Topic List
- Most Recent Posts
- Sign In for more options
hi i checked many articles, tutorials but still failed to create a working form. i want to create a form which has some textboxes n dropdowns and even checkboxes. this form shud be connected to the database. im using rails 3.0.3 n mysql 5.0 and ruby 1.9.2.
can anyone here tell me the exact method to start working on forms..
regards
salim mandrekar
so instead of form_for, u can use form_tag
and for text_field use text_field_tag, which does not have relation with database as u mentioned earlier.
refer this link for more api on rails http://apidock.com/rails/ActionView/Helpers/FormTagHelper/text_field_tag
