Gregory (Grisha) Trubetskoy
grisha at modpython.org
Fri May 21 12:36:26 EDT 2004
On Fri, 21 May 2004, Diener, Edward wrote: > I need to access all form fields in my mod_python PSP code, whether they > are empty strings or not. The 'form' global variable is created so that > fields which have empty strings do not appear in the 'form'. Are you sure that this is the case? Looking at psp.py: # does this code use form? form = None if "form" in code.co_names: form = util.FieldStorage(req, keep_blank_values=1) "keep_blank_values" is set to 1. Grisha
|