Paul Boddie wrote:
> Try replacing this with...
>
> form = cgi.FieldStorage(keep_blank_values=1)
>
> Paul
>
That worked a treat. Thanks very much to both who replied.
Chris.
--
http://mail.python.org/mailman/listinfo/python-list
Christopher Mocock wrote:
>
> Bit of a python newbie so need a little help with a CGI script I'm
> trying to write. I've got it working fine as long as the fields of the
> form are filled in correctly, however I need to be able to accept blank
> entries. Therefore I want to convert any empty entrie
Christopher Mocock wrote:
> Bit of a python newbie so need a little help with a CGI script I'm
> trying to write. I've got it working fine as long as the fields of the
> form are filled in correctly, however I need to be able to accept blank
> entries. Therefore I want to convert any empty entries
Hi all,
Bit of a python newbie so need a little help with a CGI script I'm
trying to write. I've got it working fine as long as the fields of the
form are filled in correctly, however I need to be able to accept blank
entries. Therefore I want to convert any empty entries to an empty string.
For