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 <vtp2...@gmail.com> 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