On Friday, July 2, 2021 at 12:50:02 AM UTC-7 Clemens wrote:

> You can use validate() instead of process():
> if form.validate():
>     ...
>     new_id = db.table.insert(...)
>     ...
>
>
> http://web2py.com/books/default/chapter/29/07/forms-and-validators#The-process-and-validate-methods
>
>
Thanks  I had to read that several times before I caught the ", dbio = False" 
part of the shortcut.

/dps

 

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/51eaa712-7ccc-4d0c-9c0c-7ee96966ba41n%40googlegroups.com.

Reply via email to