Alternative content

Get Adobe Flash player

Web Design Articles

Other Related Links

PayPal Star Developer Award Winner 2005

Setting up PayPal for Beginners
Buy Now Buttons

From Scorpion Systems

Last Page 1 , 2 , 3 , 4 , 5 , 6   Next Page

Now lets add the actual button.

To add an image we use a input field called submit. This is a special input field used to show a button that when the user clicks will send the form to its destination.

Lets take a look

<input name="submit" type="submit" value="click here">

Now Lets break it up

You should already know this one Opens the input field

This can be any name you want it to be

This tells the browser it is a submit button

value="click here"
This is the text displayed on the button

and of course
closes the input tag

Now the form is complete all we have to do is close the form. This is done by adding this line


Your completed form should look something like this

<form action="" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="">
<input type="hidden" name="undefined_quantity" value="0">
<input type="hidden" name="item_name" value="Your Item Name">
<input type="hidden" name="item_number" value="Your Item Number">
<input type="hidden" name="amount" value="1.00">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="return" value="http://success">
<input type="hidden" name="cancel_return" value="http://cancel">
<input name="submit" type="submit" value="click here">

And you will have this

If you want more go to the next page.

Last Page  1 , 2 , 3 , 4 , 5 , 6   Next Page