Community Forums 

Main Content

Re:No. of items select

    Dec 17 2008 08:48:18



    Join date : 2008-09-18      Posts : 418

    To accommodate form elements such as text inputs, you will have to change your button syntax from hyperlinks to forms. Here's the first one to start you off.

    <form action=""; method="post">
    <input type="hidden" name="userid" value="D0220724">
    <input type="hidden" name="price" value="15">
    <input type="hidden" name="product" value="HDMI Cable 0.50m">
    <input type="text" name="qty" size="3" value="1">
    <input type="hidden" name="return" value="">;
    <input type="hidden" name="nocart" value="1">
    <input type="image" src=""; align="absmiddle" border="0" onclick="alert('Item has been added to your cart\n\nPlease continue to shop or\n click View Cart to Pay &amp; Checkout');">