[Tutor] Python cgi doesn't get data from html form as expected

Vicki Stanfield vicki at stanfield.net
Tue Mar 22 21:18:14 CET 2005


> Please post the HTML for the form you are submitting and the HTML from a
> View Source on the result.
>
> Kent

Sorry to have bothered the list. I figured out the answer (sort of). I had
parse the HTML code through an XHTML parser which removed all the name=
leaving id= only. That doesn't work with the cgi.FieldStorage function. I
still don't know how to do it with XHTML which doesn't evidently support
the name= at all. So, html it is.

Thanks,
Vicki





More information about the Tutor mailing list