Forum Moderators: open
Is it possible? If so how?
<form action='https://www.2checkout.com/2co/buyer/purchase' method='post'>
<input type='hidden' name='sid' value='Vendor number' >
<input type='hidden' name='product_id' value='stockcode' >
<p>Quantity
<input name='quantity' type='text' class="ctrl-ed" size='5' >
<br>
<input name="submit" type='submit' value='Buy from 2CO' >
</form>
<input name="submit" type='submit' value='Buy from 2CO' >
Instead of your type="submit" button, you can use type="image" instead - this will also cause your form to be submitted when the user actions it.
<input name="submit" type="image" src="img/mybutton.gif" alt="Buy Now!">
BUT beware that you might need to modify your server-side script that is checking the form submission...
[webmasterworld.com...]