No those are not fields in any table. But now you got me confused. I don't want them to have a column name as a form name. In fact I can't, because I want to have a form that inserts multiple rows at once. That's why I am not using SQLform.
My request.vars has this: <Storage {'t1score2': '5', 't1score1': '5', '_formname': 'default', 't2score1': '5', '_formkey': '269539891568', 't2score2': '5'}> why doens't it validate the condition: if form.accepts(request.vars,session) ? On 17 Dec, 22:50, DenesL <denes1...@yahoo.ca> wrote: > pedro, your request.vars only include "t1scoreX" and "t2scoreX" (where > X is the match.id) and those are not fields in your table, are they?. > > In the generated form code, look for '<input name=' , those are the > vars returned when you submit (in your case there are no selects, etc. > which can also return vars) . > > On Dec 17, 12:51 pm, pedro <pedro...@gmail.com> wrote: > > > I am trying to submit a simple form, but for some reason it's failing > > all the time > > > It never gets accepted, I can't figure out why > > > Here's the code...http://paste.pocoo.org/show/95762/ > > > What am i doing wrong? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---