I want to put 2 checkboxes next to the fields of my table..the form is crud.
thanks On Feb 21, 10:43 am, greenpoise <[email protected]> wrote: > is it possible to achieve this on CRUD: > > def do_what_timmie_asks(): > rows=db(db.sometable.id>0).select() > db.sometable.id.represent=lambda id: DIV(id,INPUT > (_type='checkbox',_name='check%i'%id)) > form=FORM(SQLTABLE(rows),INPUT(_type='submit')) > if form.accepts(request.vars): > pass # or so something not sure what you want to do > return dict(form=form) > > This was taken > fromhttp://groups.google.com/group/web2py/browse_thread/thread/31b4f2c1ce... > > thanks

