latest version.  THere are no form errors.

On Dec 1, 11:02 pm, "mr.freeze" <[email protected]> wrote:
> Can you verify that there are no form errors? Currently if there are
> any form errors, onvalidation will not run. Also, what version are you
> running?
>
> On Dec 1, 10:53 pm, VP <[email protected]> wrote:
>
> > somehow onvalidation seems to work on create but not on update/edit.
>
> > I have something like this:
>
> > def edit_entry():
> >     form = SQLFORM(db.entry, request.args(0))
> >     if form.accepts(request.vars, session, onvalidation=func):
> >        ## blah blah
>
> > The function "func" apparently is not called at all.
>
>

Reply via email to