StringWidget is the <input type="text"...> TextWidget is the <textarea ....>
the name comes from the web2py type not the html tag. On Aug 6, 11:50 am, Sebastian Bassi <sba...@gmail.com> wrote: > On Fri, Aug 6, 2010 at 1:36 PM, mdipierro <mdipie...@cs.depaul.edu> wrote: > > db.table.field.widget=lambda field,value: > > SQLFORM.widgets.TextWidget.widget(field,value,cols="35" rows="8") > > > You can add any attribute you need > > I don't see how does it realiz that is a textarea instead of input > type="text" and where should I add this.