class FORM(DIV): ... def accepts (self,vars,session=None,formname='default',keepvalues=False):
Try the formname='name' of accepts. Robin On Jan 23, 4:16 pm, jlegler <[email protected]> wrote: > I am creating a tool that has a custom built form on the top of a page > that, when submitted, creates an entry in the database and then > displays a new partially filled in custom built form in a list of > forms below. All of the partially filled in forms display and need to > be able to be filled out and submitted individually. The problem I am > running into is that those forms are dynamically generated and i am > not sure how to manually set _formname dynamically. No matter what I > do they all have the same formname and I don't know how to change > that. Does anyone have any suggestions on the best way to approach > this issue with web2py? Is there a better way to tackle this > problem? The formkey seems to be generated based on the table name > and I can't change that obviously. I feel like there should be a > relatively easy way to accomplish this but I can't find it anywhere in > the book. Any help would be appreciated. Thanks so much. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

