Perfect!! Thanks!
On Tue, Sep 7, 2010 at 7:26 PM, mdipierro wrote:
> I apologize for the late reply:
>
> form.vars.id = db.user_jogo.insert(**dict(form.vars))
>
> should have been:
>
> form.vars.id =
> db.user_jogo.insert(**db.user_jogo._filter_fields(form.vars))
>
> The _filter_fields will re
I apologize for the late reply:
form.vars.id = db.user_jogo.insert(**dict(form.vars))
should have been:
form.vars.id =
db.user_jogo.insert(**db.user_jogo._filter_fields(form.vars))
The _filter_fields will remove from the form.vars those fields that do
not belong there (for example hidden fi
nobody?
On Mon, Aug 30, 2010 at 12:02 AM, Tito Garrido wrote:
> Hi Folks,
>
> I'm trying to validade a form before sending it. There is a hidden field
> and an autocomplete field on the form and there is what I get:
>
>
> % repr(invalid_fieldnames)
> SyntaxError: invalid field names: ['_autoc
3 matches
Mail list logo