I think, he just try to figure out how to unlock the multiples inputs values for a given fields where he don't want to use the denormalized way proposed by web2py with list:string. I mean when you want a normalized db schema with a many-to-many relation for use case like tagging... There is not that much help on built-in web2py feature orther than create you own customized form for doing it...
I don't understand why since all that time we never come with a slice/howto/book section/etc to provide some guidance... Richard On Mon, Jan 18, 2016 at 12:46 PM, Anthony <abasta...@gmail.com> wrote: > On Monday, January 18, 2016 at 12:30:43 PM UTC-5, aetagot...@gmail.com > wrote: >> >> For the first method, will I be able to essentially map each instance of >> form values to their database inserts? Kind of like if the user enters 5 >> days, 5 copies of form fields are made. The first copy maps to the first >> day, second copy maps to second day, etc? >> >> As for the second method, if I am understanding correctly..if I were to >> load a set of separate forms via Ajax does that mean I would have to have >> multiple forms defined therefore I wouldn't be able to generate the >> instances dynamically? >> > > On the backend, you just have a function that defines a single form. Then > in the browser via Javascript, you make Ajax calls to that function and > keep retrieving new copies of the form via Ajax. You also submit each form > separately via Ajax. This can all be done dynamically in Javascript. > > Anthony > > -- > 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. > -- 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.