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 from
http://groups.google.com/group/web2py/browse_thread/thread/31b4f2c1ce2ea66b/3572ad22b78acd8b?lnk=gst&q=checkbox#3572ad22b78acd8b

thanks

Reply via email to