You can put it in the model is it should apply to all form for the table or in the controller action that needs it.
On Aug 6, 1:29 pm, Sebastian Bassi <sba...@gmail.com> wrote: > On Fri, Aug 6, 2010 at 2:59 PM, mdipierro <mdipie...@cs.depaul.edu> wrote: > > StringWidget is the <input type="text"...> > > TextWidget is the <textarea ....> > > the name comes from the web2py type not the html tag. > > thank you. Where should I put this and what to put on the view? > > db.table.field.widget=lambda field,value: > SQLFORM.widgets.TextWidget.widget(field,value,cols="35" rows="8")