Re: [web2py] Re: Computed fields - change of behavoiur OR advice needed
that is a good solution indeed, thanks for the fast response -- Kuba
[web2py] Re: Computed fields - change of behavoiur OR advice needed
I would take "compute=lambda r: THUMB(r)" out of the table definition and add db.table.logo_small.compute=THUMB in the controller action where you have insert/update forms. On Dec 19, 5:34 am, Kuba Kucharski wrote: > Looks like I have a problem. I want to compute field like this and it > works
[web2py] Re: Computed fields - change of behavoiur OR advice needed
or do I really have to go with onaccept= in every form I created.. and disable compute field