Python code for name of dynamic button clicked


I am generating dynamic submit buttons on a form. When any of the button is clicked, I am calling a python script. From the scripit, I need to figure out which button was clicked.

I can do this from java, but cannot figure out how to do it in Plone/python.

In Java it will be something like this.

String action=req.getParameter("submit")

So I need the equivalent in python.


Something like this is probably what you're looking for:


thank you. that works