Originally posted by Eric Pascarello: You have to handle it on the server than. No other option. Look to see what button was clicked in the form submission.
Thanks Eric :-)
I have done it the way you say. Since I'm using Struts i used an Action who looks which buttons was clicked and then link to the appropiate page. But I still have one problem.
No, if i do the button-clicked check on the server, I don't know how can i send the related hidden values to the clicked button.
I could have the same hiddens repeated with different names for each button, and then sent all of them, the ones related to the clicked button will have been populated with values and all the others will be sent blank. But I don't really like this solution. Maybe you can point me to other ideas.
Thanks a lot Jorge
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop