form1=SQLFORM(db.members,thisrecord)
form2=SQLFORM(db.products,thisrecord)

refer to the manual SQLFORM should set formname for each form. but i
notice the second form generated by SQLFORM will have no formname.

i try to set the formname myself but fail

form2=SQLFORM(db.products,thisrecord,formname="form2")
form2=SQLFORM(db.products,thisrecord,_formname="form2")
form2.element(_formname="form2")
form2.element(formname="form2")

doesn't work too. anyone have the way to set formname to SQLFORM?

thanks in advance
-vince
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to