[web2py] Re: Accepting custom form without saving

2014-03-14 Thread Massimo Di Pierro


form.process(dbio=False).accepted


On Thursday, 13 March 2014 14:28:03 UTC-5, Martin wrote:

 Hi all,
 Please could anyone tell me how to accept a *custom SQLFORM* without 
 inserting to db, since 

 if form.process().accepted: seems to be perform insertion directly.

 thanks!



-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: Accepting custom form without saving

2014-03-14 Thread Martin
Thank you Massimo, you reply was helpful.

Le jeudi 13 mars 2014 21:28:03 UTC+2, Martin a écrit :

 Hi all,
 Please could anyone tell me how to accept a *custom SQLFORM* without 
 inserting to db, since 

 if form.process().accepted: seems to be perform insertion directly.

 thanks!



-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.