The SQLFORM can only handle one to many. You have to create your own logic.
On Friday, 17 April 2015 21:50:40 UTC-5, KevC wrote: > > Hi community! > Good afternoon, my name is Kevin. > I want to know if you could help me. I started to use web2py, but I don't > know some things. > I want to create fields with a button on SQLFORM and HTML. For example, I > have author table and book table, but a book can get several authors and I > need to create differents "INPUT" for save them with book and his fields. > I have a relation many to many between book and author. Also, I have > combined author and book FORM“s. > > > I wanna this form: > > > Title: |___________ > Name author: |___________ + - (Where '+', I wanna use it for add more > authors in the same form and save them in his respective tables and '-' use > it for remove fields If I mistake) > Lenguaje: |____________ > ISBN: |____________ > Etc. > > > > > I hope you can help me. > Greetings. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

