? about forms

liunx

Guest
Hello, <br />
I hope you guys ccan help me out here.<br />
This is what i got, i got code from paypal to automatically access account for donation.<br />
here is the code:<br />
<br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><br />
<input type="hidden" name="cmd" value="_xclick"><br />
<input type="hidden" name="business" value="[email protected]"><br />
<input type="hidden" name="item_name" value="Tm4 Kill House Donation"><br />
<input type="hidden" name="no_note" value="1"><br />
<input type="hidden" name="currency_code" value="USD"><br />
<input type="hidden" name="tax" value="0"><br />
<input type="image" src=http://www.webdeveloper.com/forum/archive/index.php/"https://www.paypal.com/images/x-click-but04.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"><br />
</form><br />
<br />
<br />
Ok now this works fine i put it on a html page and a button appears and click it and it does its thing. Now my problem is this, Our Web page is mostly flash and i cant put this code using swish so i put a button in the flash part and linked it to the html with the above code and it works fine, but when i get to the html, i have to push a button again to get where i need to go, is there any way on the html side with the aove code to bypass the summit button and have it automatically load, so i dont have to push the button the second time??<br />
<br />
If you would like to check it out the paypal button is on the home page of(click skip flash intro)<br />
<!-- w --><a class="postlink" href="http://www.tm4.us">www.tm4.us</a><!-- w --><br />
<br />
ANy help would be greatly appreciated!!<br />
Davyboy<br />
<br />
:D<!--content-->Originally posted by davyboy <br />
<br />
If you would like to check it out the paypal button is on the home page of(click skip flash intro)<br />
<!-- w --><a class="postlink" href="http://www.tm4.us">www.tm4.us</a><!-- w --><br />
<br />
ANy help would be greatly appreciated!!<br />
Davyboy<br />
<br />
:D [/B] <br />
<br />
I tried to help but in my browser there is no skip intro button, just a big "Download <!--more--> plugin" area.<br />
<br />
Please tell me you havn't done something really stupid like put the skip flash button INSIDE the flash...<!--content-->Dave i thank-you for trying to straighten me out, but when it comes to code i dont know to much, so here is the total html code and if you could let me know where to put what you gave me.<br />
<br />
<html><br />
<br />
<head><br />
<meta name="GENERATOR" content="Microsoft FrontPage 5.0"><br />
<meta name="ProgId" content="FrontPage.Editor.Document"><br />
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><br />
<title>Please click here to proceed</title><br />
<script id=clientEventHandlersVBS language=vbscript><br />
<br />
</script><br />
</head><br />
<body bgcolor="#000000"><br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><br />
<input type="hidden" name="cmd" value="_xclick"><br />
<input type="hidden" name="business" value="[email protected]"><br />
<input type="hidden" name="item_name" value="Tm4 Kill House Donation"><br />
<input type="hidden" name="no_note" value="1"><br />
<input type="hidden" name="currency_code" value="USD"><br />
<input type="hidden" name="tax" value="0"><br />
<input type="image" src=http://www.webdeveloper.com/forum/archive/index.php/"https://www.paypal.com/images/x-click-but04.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"><br />
</form ><br />
</html><br />
<br />
Sorry i am not so good at this part, this is all a learning experience for me<br />
thank-you ,<br />
Davyboy<!--content-->Well, since we are posting full code we might as well add the parts that will make it pass through the W3C validator. Here it is for those interested :)<br />
<br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><br />
<html><br />
<br />
<head><br />
<meta name="GENERATOR" content="Microsoft FrontPage 5.0"><br />
<meta name="ProgId" content="FrontPage.Editor.Document"><br />
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><br />
<title>Please click here to proceed</title><br />
<script id=clientEventHandlersVBS language=vbscript><br />
<br />
</script><br />
</head><br />
<body bgcolor="#000000" onload="document.forms[0].submit0.click();"><br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><br />
<p><br />
<input type="hidden" name="cmd" value="_xclick"><br />
<input type="hidden" name="business" value="[email protected]"><br />
<input type="hidden" name="item_name" value="Tm4 Kill House Donation"><br />
<input type="hidden" name="no_note" value="1"><br />
<input type="hidden" name="currency_code" value="USD"><br />
<input type="hidden" name="tax" value="0"><br />
<input type="image" src=http://www.webdeveloper.com/forum/archive/index.php/"https://www.paypal.com/images/x-click-but04.gif" border="0" name="submit0" alt="Make payments with PayPal - it's fast, free and secure!"><br />
</p><br />
</form><br />
</html><!--content-->WELL THATS COOL, BUT I CANT GET IT TO WORK EITHER WAY BUT AFTER I REMOVED THE SCRIPT TAGS, I GOT ERROR THAT DOCUMENT.SUMBMIT0 IS NULL OR NOT AND OBJECT, BUT OH WELL ATLEAST I AM LEARNING HERE, ITS FATHER THAN I GOPT BEFORE!!!lol, I DO THANK-YOU GUYS FOR YOUE HELP, BY THE WAY I AM USING FRONT PAGE 2002 I DONT KNOW IF THAT MAKES A DIFFERENCE OR NOT<!--content-->You don't need, I don't think, to use HTML. In HTML, when the user clicks the Submit button, the browser sends a request to the server using a method (in your case POST). This way, along with the request, the server also receives all your variables in a header, which is hidden from the viewer.<br />
<br />
Flash has capabilities to mimic this behaviour (one of its functions). I don't like Flash, but I found this page, may be to start off:<br />
<!-- m --><a class="postlink" href="http://www.macromedia.com/support/flash/ts/documents/f4_form.htm">http://www.macromedia.com/support/flash ... 4_form.htm</a><!-- m --><!--content-->
 
Back
Top