Re: [web2py] SQLFORM.factory same table twice or more...

2013-10-31 Thread Diogo Munaro
Thx Richard! Clone is amazing!! 2013/10/31 Richard Vézina > Your table can't have the same field name : > > > http://web2py.com/books/default/chapter/29/07/forms-and-validators?search=One+form+for+multiple+tables#Other-types-of-Forms > This only works when the tables don't have field names in c

Re: [web2py] SQLFORM.factory same table twice or more...

2013-10-31 Thread Richard Vézina
Your table can't have the same field name : http://web2py.com/books/default/chapter/29/07/forms-and-validators?search=One+form+for+multiple+tables#Other-types-of-Forms This only works when the tables don't have field names in common. But you can .clone() your field : https://groups.google.com/d/