Re: [web2py] Re: Dynamic form generation using FORM()

2014-01-15 Thread Chris Hepworth
I actually have a very odd data set that is getting put into the form. They represent several different tables and the only real unifying feature is the uploaded photos. The idea is to fetch a list of photos to retrieve for the user using a single form. That is why the checkbox value is the encrypt

[web2py] Re: Dynamic form generation using FORM()

2014-01-15 Thread Tim Richardson
out of curiosity why not use SQLFORM.grid with selectable? -- 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 subs

[web2py] Re: Dynamic form generation using FORM()

2014-01-14 Thread Chris Hepworth
You know, I hate to say it but that never even occurred to me to try. I got so distracted with other things that I never took the time to really evaluate what could be happeing. Thank you, Anthony. On Tuesday, January 14, 2014 5:23:23 PM UTC-7, Anthony wrote: > > If you want to submit a list of

[web2py] Re: Dynamic form generation using FORM()

2014-01-14 Thread Anthony
If you want to submit a list of inputs to FORM(), then that's all you can submit. So, append the submit input to the fields list and then just do FORM(fields). Also, if db.a_table.image is an upload field, it will just store the transformed filename, which won't be very informative to the users