[web2py] Re: Passing form value to a controller function

2016-02-23 Thread aetagothno
Based on the error with the code I currently have.. I think a more concise way of wording exactly what I want to do is... Create multiple instances of the* form fields* within a* single form*... On Tuesday, February 23, 2016 at 2:41:58 PM UTC-8, aetag...@gmail.com wrote: > > That does make se

[web2py] Re: Passing form value to a controller function

2016-02-23 Thread aetagothno
That does make sense, now if only I can get my code to work so that I can see what happens with the table. *CONTROLLER:* def index(): return dict() def form1(): numdays = int(request.vars.name); forms = [SQLFORM(db.post,formname='form%i' % k) for k in range(numdays)] for k,form i

[web2py] Re: Passing form value to a controller function

2016-02-23 Thread Dave S
On Tuesday, February 23, 2016 at 12:31:03 PM UTC-8, aetag...@gmail.com wrote: > > I've been having trouble understanding how this works and could be > achieved with web2py, it seems like this concept exists within Django so I > want to understand how this can be implemented within web2py. > >