> form=crud.create(db.comments)
> if form.process().accepted
>

Right, you cannot do that. 

 

>   form = SQLFORM.factory(*fields)
>   if form.accepts(request, session): 
>

The above is perfectly fine (though form.process().accepted is now 
preferred to form.accepts(request, session)).

My question was exactly what problem are you having with the above>The app 
you attached uses the above, and it works fine.

Anthony

-- 
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