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.

