[Zope] Getting a python list from an HTML Form

Andrew Kenneth Milton akm@theinternet.com.au
Sat, 6 Oct 2001 09:09:11 +1000


+-------[ complaw@hal-pc.org ]----------------------
| I'm having trouble getting a list into a python script from an HTML form.
|=20
| The form itself has:
|=20
| <FORM ACTION=3D"send_docket_msg" METHOD=3D"POST" ENCTYPE=3D"multipart/for=
m-data">
|=20
| =03
| </FORM> =20
|=20
| Incidentally,=20
|       <TEXTAREA NAME=3D"cc_list:list" COLS=3D"40" ROWS=3D"6"></TEXTAREA>
|=20
| .. makes no difference.

try :lines instead of :list

You shouldn't need the enctype unless you're uploading a file...

--=20
Totally Holistic Enterprises Internet|                      | Andrew Milton
The Internet (Aust) Pty Ltd          |                      |
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068    |akm@theinternet.com.au|=20