[mod_python] Processing Dynamic Forms

Scott White scott.w.white at gmail.com
Wed Mar 21 09:38:11 EST 2007


I have my template & request handler written & working but I appear to only
be able to declare variables for my post method there are declared in my
form.

Example template:
<form
  <input id="custId"


Example handler:
def post(req, custId


However I have n number of custIds in a format: custId_01, 02, etc.
Therefore I'd like to be able to process all form variables so I can iterate
through them as there are too many to declare.

How would I handle this?   I looked at the req object but didn't any form
related variables.

Thanks,
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20070321/fe696963/attachment.html


More information about the Mod_python mailing list