The rest of the insert is working. As a workaround I'm doing a table update right after the form.accepts() and just before the redirect.
On Aug 29, 3:45 pm, Anthony <abasta...@gmail.com> wrote: > Does it insert the non-hidden fields, or is no record getting inserted at > all? > > > > > > > > On Friday, August 26, 2011 5:43:15 AM UTC-4, Cliff wrote: > > > 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