ok. another thing is that if I use a regular form, {{=form}}, then
validation works but not if I use the custom form. Also form.process()
works, so the problem seems to be related to custom forms.

On Sat, Dec 15, 2012 at 4:06 AM, Anthony <[email protected]> wrote:
>>     form=crud.create(db.comments)
>>     if form.process().accepted:
>
>
> Crud and form.process() do not go together. Crud is a higher level interface
> and automatically handles form processing. Once you call crud.create(), the
> form is already processed -- processing it the second time will not work
> (the formkey token used to protect against CSRF attacks and double
> submission is only good for one submission).
>
> Anthony
>
> --
>
>
>

-- 



Reply via email to