[mod_python] Processing Dynamic Forms

PETER BARKER newbarker at btinternet.com
Wed Mar 21 10:01:22 EST 2007


req.form['custId_01'] etc.
   
  Regards,
   
  Pete

Scott White <scott.w.white at gmail.com> wrote:
  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
_______________________________________________
Mod_python mailing list
Mod_python at modpython.org
http://mailman.modpython.org/mailman/listinfo/mod_python

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20070321/da5718b2/attachment.html


More information about the Mod_python mailing list