2 Aug
2006
2 Aug
'06
12:25 a.m.
Alan wrote:
Hi Dears,
I am looking for ideas of how to use a submitting button to pass several parameters to a python script.
I have googled but I found different solutions not really appropriate to my case I guess.
I was trying something like this:
<form action="do_status.py" method="POST"> <input type="hidden" name="jname:string"> <input type="hidden" name="juser:string"> <input type="submit" value="Submit"> </form>
Then I defined my do_status.py with parameters jname, juser
print jname, juser return printed
Try print context.REQUEST.get('jname','???')
and nothing is printed.
David