textareas are also submitted together with the form, you just need to set a name:
textarea @testform.testing, rows:5, name:'testing' On Monday, May 12, 2014, Sebastjan Hribar <sebastjan.hri...@gmail.com> wrote: > Hi, > > I can only use textarea rows:'5' @testform.testing > > for displaying pruposes. As soon as I use tag input which I need for > saving the data to the database table, multiline is impossible. > > regards, > seba > > > > > 2014-05-12 13:39 GMT+02:00 David Susco > <dsu...@gmail.com<javascript:_e(%7B%7D,'cvml','dsu...@gmail.com');> > >: > >> textarea rows:'5' @testform.testing doesn't do what you want it to do? >> >> >> On Mon, May 12, 2014 at 1:51 AM, Sebastjan Hribar < >> sebastjan.hri...@gmail.com<javascript:_e(%7B%7D,'cvml','sebastjan.hri...@gmail.com');> >> > wrote: >> >>> Hi, >>> >>> can someone tell me if multi-line input field is possible to do with >>> markaby? >>> >>> If I use input tag like so: >>> >>> ----------- >>> >>> input type: 'textarea', name: 'testing', value: @testform.testing >>> ----------- >>> >>> >>> I can only set the length of the field by providing the size: attribute. >>> >>> If I use textarea tag like so: >>> >>> ----------- >>> >>> textarea @testform.testing >>> ----------- >>> >>> >>> it only make sense for displaying the value. >>> >>> I'd like to accomplish multi-line input field. The purpose of such a >>> text box is to enter a bit longer comments. >>> >>> Can it be done? >>> >>> regards, >>> seba >>> >>> _______________________________________________ >>> Camping-list mailing list >>> Camping-list@rubyforge.org<javascript:_e(%7B%7D,'cvml','Camping-list@rubyforge.org');> >>> http://rubyforge.org/mailman/listinfo/camping-list >>> >> >> >> >> -- >> Dave >> >> _______________________________________________ >> Camping-list mailing list >> Camping-list@rubyforge.org<javascript:_e(%7B%7D,'cvml','Camping-list@rubyforge.org');> >> http://rubyforge.org/mailman/listinfo/camping-list >> > > -- // Magnus Holm
_______________________________________________ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list