> in controller
>         form=crud.create(db.page)
>         return dict(form=form)

Is this possible with two tables? I have two tables, page and
page_files, the page is stored in page and all files in page_files as
one page can have many files.

> - you use form.vars.id. That is only created by web2py after calling
> the form.accepts function, i.e. after insert.

It worked nicely because I did the testing while editing the page not
adding. But nice to know.

Reply via email to