Your input element has a comma in between 'name' and 'value' attributes. I don't think it belongs there.
On Jun 14, 2:50 am, weheh <[email protected]> wrote: > I have a multiple form submission with a custom form. > > #controller > form1=SQLFORM.factory(db.table,...) > form2=SQLFORM.factory(db.table,...) > ... > if form1.accepts(request.vars,formname='form1',onvalidation=xyz): > ... do something ... > > if form2.accepts(request.vars,formname='form2',onvalidation=xyz): > ... do something else ... > > # view > ... > form1.custom.begin > ...widgets... > <input type="hidden",name="form1",value="default" /> > form1.custom.end > > form2.custom.begin > ... widgets ... > <input type="hidden",name="form2",value="default" /> > form2.custom.end > > ---------- > > The above seems to work OK. However, the input string is at odds with > what the doc says on p. 195: > > 7 <input type="hidden" name="_formname" value="test" /> > > When I recast my code as > > <input type="hidden" name="_formname",value="form1" /> > > it doesn't work. > > Is the doc wrong?

