Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form: double destination

Status
Not open for further replies.

erikkk

Programmer
Jun 25, 2001
12
0
0
IT
Hi,
I have a form. I need to send the same informations to two different pages.
Anybody could help me?
 
8.8. Can I have two or more actions in the same form?
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.

Taken From:
I didn't know myself but found the anser, check with the perl programmers sounds like they would have a solution.

Good Luck!
 
You could also assign a javascript function to send to two pages at once.

...

function myFunction() {
your actions here
}

...

onSubmit="myFunction()"


Hope it helps!

"It's easier to ask forgiveness than it is to get permission." - Rear Admiral Dr. Grace Hopper
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top