[web2py] Re: update table as boolean.

2015-04-07 Thread 黄祥
perhaps you can do it on application form level using onvalidation e.g. def __onvalidation_employee(form): if form.vars.is_auth == 'on': if form.vars.auth_user: row = db(db.auth_user.id == form.vars.auth_user).select().first() form.vars.first_name = row.first_name form.vars.last_name = row.last_na

[web2py] Re: update table as boolean.

2015-03-31 Thread Anthony
Do you have a question? Any code to show? On Tuesday, March 31, 2015 at 6:27:12 PM UTC-4, archana subramanyam wrote: > > Hi > When i click on check box and confirm button ...the db with colo 'X' must > get updated to true (if checkbox is checked),else updted to false(if > checkbox not checked an