I want to have the SQLFORM submit, validate, and on success do absolutely
nothing. It would look like an html event equivalent to:
form onsubmit="myFunction(); return false;"
The problem is that actually injecting return false into the form means w2p
doesnt validate. Is there a simple way to prevent the form from doing anything
--
Psuedocode:
If form.process().accepted:
DO NOTHING
Thoughts?
--
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/d/optout.