Re: [web2py] Re: Computing a field from the value of another field

2011-09-11 Thread Chris Rowson
Thank you everyone for the advice. Chris On Sep 11, 2011 4:47 AM, "pbreit" wrote: > Good point.

Re: [web2py] Re: Computing a field from the value of another field

2011-09-10 Thread Anthony
On Saturday, September 10, 2011 6:51:51 PM UTC-4, leftcase wrote: > > Cool, Thanks Anthony! > > Does the onvalidation option have benefits over and above the way I've done > it. > I guess it's a bit simpler because it still allows form.accepts() to handle the DB insert, so you don't have to do it

Re: [web2py] Re: Computing a field from the value of another field

2011-09-10 Thread Chris Rowson
Cool, Thanks Anthony! Does the onvalidation option have benefits over and above the way I've done it? Chris > Another option might be using an onvalidation function: > http://web2py.com/book/default/chapter/07#onvalidation > Anthony > > On Saturday, September 10, 2011 4:37:08 PM UTC-4, leftcase