No, it returns a SQLFORM with readonly=True, in which case there's nothing
in form.vars.
On Thursday, November 10, 2011 4:22:43 PM UTC-5, lucas wrote:
>
> yes, but doesn't crud.read just return an SQLFORM, which should have
> object access to the field values, no?
yes, but doesn't crud.read just return an SQLFORM, which should have
object access to the field values, no?
First, you don't use form.process() with crud forms -- crud handles the
processing itself. Also, I believe that "read" forms do not have anything
in form.vars, so you'll have to get those values directly from the
submitted record.
Anthony
On Thursday, November 10, 2011 3:18:14 PM UTC-5, lucas
3 matches
Mail list logo