On 26 November 2010 18:37, mdipierro <[email protected]> wrote:

> Add a line:
>
> def fpn0303_create():
>    table=db.fpn0303
>    crud.settings.keepvalues = True
>    form=crud.create(db.fpn0303,onaccept=lambda form:
>                     show_id (form.vars.id))
>     response.flash=repr(form.errors)
>    return dict(form=form)
>
> to see why the data does not go in DB. There msut be an error that
> your custom form is not showing.
>
>
Thanks!  That is a very useful tool.

Problem solved quickly.

Regards
Johann

-- 
 May grace and peace be yours in abundance through the full knowledge of God
and of Jesus our Lord!  His divine power has given us everything we need for
life and godliness through the full knowledge of the one who called us by
his own glory and excellence.
                                                    2 Pet. 1:2b,3a

Reply via email to