> How can I identify which button has been pressed.  Do I need a
> separate form for each button and hide all the relevant session fields
> in each form or is there a way of identifying which button has been
> pressed on the page.

Hi, Richard,
 Just give each button (or input) tag a distinct name attribute and a
value attribute. Also make sure the button is inside the form. When
the button is used to submit the form, FieldStorage will return the
name:value pair.

-Dave
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to