I use SQLFORM something like this:
field_list = 'dog_name dog_weight dog_birth_date'.split(' ')
hidden = {'dog_owner' : some_known_value} # We already know who owns
this dog
form = SQLFORM(db.sometable, fields=field_list, hidden=hidden)
When I look at the rendered page, the hidden fields are on the form.
But when I submit the form, SQLFORM doesn't insert the values from the
hidden fields, even though I can see them in request.vars.
Is this the way it's supposed to work or do I have a bug?
Thanks,
Cliff Kachinske