PDA

View Full Version : onsubmit=several things



zoobie
June 22nd, 2002, 01:25
I need the onsubmit function to do several things;

submit this form <form name="this" method="post" action="mail.php">
submit that form <form name="that" method="post" action="http://paypal.com">
oneaddress() //form validation
checkform() //another validation

How would I do this?

Thanks :devious2:

w3exit
June 22nd, 2002, 11:46
I think you just include onsubmit within the html tag ... go to javascriptkit.com to see some tutorials

dawizman
June 22nd, 2002, 23:01
use php and make a function.