I can't get onvalidation working in SQLFORM.grid (trunk from a couple of 
days ago)
I have never used it with any object, so I probably don't get it. 

I have this:

def validate_callback(form):
    print form.vars   #breakpoint here
    return True

and this is in my controller
    grid1 = SQLFORM.grid(db.person,onvalidation=validate_callback)


the breakpoint in the callback is never reached.

when I step through after editing a record, I end up in html.py 
 FORM.validate but the onvalidation function is never used. 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to