[mod_python] SELECT element values

Cristian Codorean cristian.codorean at gmail.com
Tue Oct 3 08:04:35 EDT 2006

  I have a simple form which I access easily
    form_data = util.FieldStorage(req)
    for field in form_data.list:
        text = "%s = %s\n" % (field.name,field.value)

but in the case of html select elements I only get the index of the selected
element as the field value.
How can I get the actual value at that index ?

Thank you !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20061003/cdbc86b1/attachment.html

More information about the Mod_python mailing list