You can also do def index(): fields=['a','b','c'] form=SQLFORM.factory(*[Field(name) for name in fields])) if form.accepts(request): response.flash=str([form.vars[name] for name in fields]) return dict(form=form)
On Nov 15, 11:46 am, CesarBustios <cesarbust...@gmail.com> wrote: > Wow thanks guys, iĺl try and let you know :) > > On 15 nov, 12:39, Ivan Matveev <imatvee...@gmail.com> wrote: > > > Maybe WebGrid(http://web2pyslices.com/main/slices/take_slice/39) can > > help you? I didn't use it but it says that it lets you build a table > > that supports paging, sorting, editing and totals easily. > > > Or you can put forms in a SQLTABLE column. How to add columns to > > SQLTABLE is being discussed in tread: > > > Manipulate Rows Object and/or SQLTABLE > > >http://groups.google.com/group/web2py/browse_thread/thread/87596d39a4... > >