I see several ways to do it :
a) using JavaScript (if your users disable JS, it won't work of course)
1) replace all submit with buttons, and write an onClick methods
which dynamically set/reset the form action
- allows you to have several actions for a simple forml
David Thielen wrote:
I have a form with a submit, reset, and update button. How do I handle
control
of the update button (go to a different action)?
How is submit different from update? And reset depends on how you do it...
A typical reset button on a form is client-side, it just puts the
Writing a javascript on the onclick Event may work.
Thanks
Nazeer
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 12:44 PM
To: Struts-Users
Subject: Update button on a form
Hi;
I have a form with a submit, reset, and update button.
3 matches
Mail list logo