[mod_python] How to know a form name

Rob Shinn rob.shinn at gmail.com
Sat Dec 20 21:16:22 EST 2008


Well, you could always pass it as a  hidden form field.  Not sure if
there is a better way to do it, though.

On 12/20/08, zayer <zayer at frikis.org> wrote:
> Hello everybody, I've a page with to forms, each one with different
> names and I want hand it with same script. (I'm using FieldStorage util
> Class for mangle it).
> i.e.
>
> <!-- one -->
> <form name="article" action="" method="post" > ... </form>
> <!-- two -->
> <form name="file" action="" method="post"> ... </form>
>
> Does anybody know how can I get (in python of course) the name of the
> form that has been submitted?
>
> Thanks you very much.
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>

-- 
Sent from my mobile device


More information about the Mod_python mailing list