Bug report: ClientForm

Lie Ryan lie.1296 at gmail.com
Sun Mar 1 02:26:32 CET 2009

MRAB wrote:
> Muddy Coder wrote:
>> Hi Folks,
>> When it parses a form, if the VALUE of a field has not space, it works
>> very well. For example, if a dropdown list, there many options, such
>> as:
>> <option value=foo> ....
>> the value foo will be picked up for sure. But, if there is a space:
>> <option value=foo bar> .....
> Values should be quoted, although you can omit the quotes if there
> aren't any spaces in the string:
>     <option value="foo bar">
> You can see examples at http://wwwsearch.sourceforge.net/ClientForm/
>     <input type="checkbox" name="control2" value="foo" id="cbe1">
> As you can see, whitespace separates the name=value pairs.

It is also a good habit to have the quotes even when you don't use
spaces. Also, knowledge of xHTML in general should come in handy.

More information about the Python-list mailing list