On Monday, May 16, 2011 10:34:11 PM UTC-4, JayShaffstall wrote: 
>
> On May 16, 4:30 pm, Massimo Di Pierro <[email protected]> 
> wrote: 
> > form=SQLFORM(...) 
> > form.element('textarea')['_rows'] = random.randint(10,20) 
>
> Thanks!  I'll give that a try tomorrow.

 
Yes, check out 
http://web2py.com/book/default/chapter/05#Server-side-DOM-and-Parsing -- a 
SQLFORM is a web2py HTML helper object, so all that stuff applies to forms. 
See also http://web2pyslices.com/main/slices/take_slice/43.
 
Anthony

Reply via email to