Has anyone here tried to display variables from request.vars in a form field?

I am getting a strange result, where the variables are displayed
properly on the form

However, after the form is submitted, I notice that the variables are
duplicated.  See this screen capture:

http://publicradioroadtrip.googlecode.com/issues/attachment?aid=4225582252974264141&name=web2py_request_vars.png&token=cb8139ab203a897ef861aacc48e45283&inline=1

These variables also seem to have the pipe character on either side
which tells me I might be somehow saving a list into the form,
something like that.

Here is the code I'm using for the add_story function:
http://code.google.com/p/publicradioroadtrip/source/browse/controllers/default.py?spec=svnfc0c4d4a02db99a097043dca1faf4447b13c327b&r=fc0c4d4a02db99a097043dca1faf4447b13c327b#61

Any suggestions you might have are appreciated.

-- 
http://opensourcebroadcasting.net
Email: jgty...@gmail.com
Phone: 510-859-3698

Reply via email to