Thanks for that - I'd assumed the button in the form was related, but let me try and isolate the other problem and make another app that reproduces it.
On Saturday, September 28, 2013 10:09:58 AM UTC-7, Anthony wrote: > > > 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.

