[Tutor] cgi module and checkboxes.

Rob Andrews rob@uselesspython.com
Mon Dec 9 09:09:01 2002


Can you show an example of the code you're having problems with? Also, does
the rest of this CGI work if you leave off the part that doesn't seem to be
working?

Rob
http://uselesspython.com

> -----Original Message-----
> what happens if you have a check box (say called "uid"), and you submit
> it to a CGI, and get the results of the form using the cgi module? I'm
> trying this, and for some reason, i cannot get it to work. I'm guessing
> that the result would be a dictionary, with "uid" as the key, and a list
> of all the check boxes which were ticked as the value? (or maybe a
> tuple?)
>
> I flicked through the documentation, but didn't see anything very useful
> there, just something about files....