In my application, one has urls and tags. What I'm doing is when the user entering data for an url, he/she will also select relative tags.
I store urls and tags into two different tables and I plan to use a reference table which describe the many-to-many relationship between tags and urls. I could tell which tags are selected by the user. (as each tag has a boolean variable for that purpose.) So when the user creating 1 new url and select 5 tags, when he click the submit button, it seems a lot need to happen in the backend: submit 1 SQLFORM for creating that url + creating 5 SQLFORMs each describes a relationship between a tag and the new url. I have no idea how to accomplish this in web2py. Am I doing it the right way? Thanks for your helps in advance!! -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.