I use SQLFORM something like this:

fields = 'dog_name dog_weight dog_birtdate'.split(' ')
hidden = {'dog_owner' : some_known_value} # We already know who the
owner is
SQLFORM(db.dogs, fields=fields, hidden=hidden)

The hidden fields are on the form.  When I submit the form, they are
in request.vars, but SQLFORM does not insert them in the database.

Is this the way it's supposed to work or do I have a bug?

Thanks,
Cliff Kachinske

Reply via email to