Hi,
if I have two submit buttons on my html page, how do I know which one is pressed when using python ?
Example:
<form action="test.py ">
<input type=submit name=add value=Add>
<input type=submit name=del value=Del>
</form>
----
def myfunction(req, var1, var2):
???
I can't find anything about this in mod_python documentation, does anyone know ?
Thanks!
/P
if I have two submit buttons on my html page, how do I know which one is pressed when using python ?
Example:
<form action="test.py ">
<input type=submit name=add value=Add>
<input type=submit name=del value=Del>
</form>
----
def myfunction(req, var1, var2):
???
I can't find anything about this in mod_python documentation, does anyone know ?
Thanks!
/P
Comment