cgi and form NEED HELP!

CheapSkate gua81 at XXXyahoo.com
Sun Oct 6 20:51:33 EDT 2002


hi, need a little help here.
I'm having a list of items with checkboxses in them.
the name attribute is unknow for each one(generated automatically).

now what I want to do is that
in the cgi.FieldStorage(), I want it to contain all the names of the checked
boxes.
any idea?


Here's the code for the checkbox:
print '<input type="checkbox" name="%s" size="20"><a href=%s>%s</a></td>'%
(filename, fullname, filename)

where filename is the filename of the file e.g apple
and fullname is the fullpath to the file e.g C:\windows\desktop\apple

Cheers.





More information about the Python-list mailing list