[web2py] Re: iterating through form fields with rows

2016-03-24 Thread aetagothno
What worked for me was utilizing row.values(), because I was doing this within the models file! I haven't been able to find any documentation in regards to using it but that is what I was looking for! Thank you! On Tuesday, March 15, 2016 at 2:15:12 PM UTC-7, Val K wrote: > > Hi! > Just for

[web2py] Re: iterating through form fields with rows

2016-03-15 Thread Val K
Hi! Just for clarity: *row.field_name* - access to field value of *record retrieved from DB *( by db().select() ) *form.vars.field_name *- access to field value of *submitted from *( *after* form.process() ) form.vars - just a Storage() object like a dict() form.vars.keys() - list of all