Two or More Actions in the Same Form

Q

Can I have two or more actions in the same form?

✍: FYIcenter

A

No. A form must have exactly one action. However, the server-side (e.g., CGI) program that processes your form submissions can perform any number of tasks (e.g., updating a database, sending email, logging a transaction) in response to a single form submission.

2007-03-03, 4886👍, 0💬