I have a shopping cart page. I have a button to update the cart if
quantities are changed etc and also have buttons next to each item so
they can be deleted from the cart.
How can I tell from within an action which button was pressed so that
I know which action to perform? I think I can only do this with forms
as far as I know, but because of the way the page is laid out, I’d
have to have one form within another which isn’t allowed.