|
-
Dec 7th, 2005, 08:57 PM
#1
Thread Starter
Addicted Member
how to have 1 form with 2 submit buttons
hi all, how do you make 1 form with 2 submit buttons? I can show the buttons, of course, but how to handle the code?
I have a form that contains a number of items with checkboxes, and when the user clicks Delete button, the checked items will be deleted. It's no problem because I can just use the code <form action=delete.php ....>.
Now, the problem is, I want to make another button besides the Delete button. I want to have a Move button, so that when the user clicks the Move button, the checked items in the form will be moved to another category, not delete them.
I'm confused how to do that. You can't have a form with two actions (delete.php and move.php), right?
thanks for your help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|