F
Fernie
I have a form with a submit button that calls the following action:
<form method="POST" action="Main.cgi?Catalog=PostEdit&CatName=Wheels">
I decided to add a second button to delete the catalog but I am unsure how
to proceed since both buttons call the script above. It would be great if
the second script could call a second action but I do not know if this is
possible.
Here is my button code:
<TD align="center"><FONT face="Arial" size="2"><INPUT type="submit"
name="btnPost" value="Save changes"></FONT> <INPUT type="button"
name="btnDeleteCatalog" value="Delete this catalog"></TD>
Is it possible to have my second button submit its own script or am I taking
the wrong approach?
Thank you,
Fernie
<form method="POST" action="Main.cgi?Catalog=PostEdit&CatName=Wheels">
I decided to add a second button to delete the catalog but I am unsure how
to proceed since both buttons call the script above. It would be great if
the second script could call a second action but I do not know if this is
possible.
Here is my button code:
<TD align="center"><FONT face="Arial" size="2"><INPUT type="submit"
name="btnPost" value="Save changes"></FONT> <INPUT type="button"
name="btnDeleteCatalog" value="Delete this catalog"></TD>
Is it possible to have my second button submit its own script or am I taking
the wrong approach?
Thank you,
Fernie