if your request.vars.something is a list, then it means that somewhere you
have two fields that are coming in with the same name.
trim the code to the very essential and start from there please.
form = SQLFORM(db.UploadedMeetingMaterials)
if request.vars.uploadedMeetingContent:
filesize_ = len(request.vars.uploadedMeetingContent.value)
filename_ = request.vars.uploadedMeetingContent.filename
form.vars.contents_size = filesize_
form.vars.contents_filename = filename_
if form.process().accepted:
session.flash = 'Here I am again after form accepted'
elif form.errors:
response.flash = 'form has errors'
return locals()
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.