Community Forums 

Main Content

code help

    Oct 19 2008 10:34:16

    #1

    pcguy

    Join date : 2008-09-18      Posts : 130

    I have this code here below and when it is added to the cart it works fine however the first line in the cart I want it to have no quantity but just show the words
    I have January or whatever month is selected. how is this done.


    <form action="http://ww11.aitsafe.com/cf/addmulti.cfm"; method="post" target="_blank">
    <input name="userid" type="hidden" value="D939432" />
    <input name="return" type="hidden" value="www.mysite.com/"; />

    <table>
    <tbody>
    <tr>
    <td><u><b>Software DVD</b></u></td>
    </tr>
    <tr>
    <td><font size="2">Month I have</font></td>
    <td>
    <input type="hidden" value="1" name="qty1">

    <select name="productpr1">
    <option selected value="">Select your Month</option>
    <option value="I Have January ">January </option>
    <option value="I Have February ">February</option>
    <option value="I Have March ">March</option>
    <option value="I Have April ">April</option>

    </tr>
    <tr>

    <td><font size="2">Month I want</font></td>
    <td>
    <input type="hidden" value="1" name="qty2">

    <select name="productpr2">
    <option selected value="">Select your Month</option>
    <option value="I want January :9.00">January -$9.00</option>
    <option value="I want February :9.00">February -$9.00</option>
    <option value="I want March :9.00">Mar -$9.00</option>
    <option value="I want April :9.00">April -$9.00</option>

    </select>
    <select name="qty2">
    <option VALUE="0">0</option>
    <option VALUE="1">1</option>
    <option VALUE="2">2</option>
    <option value="3">3</option>
    <option value="4">4</option>
    <option VALUE="5">5</option>
    <option VALUE="6">6</option>
    <option value="7">7</option>
    <option value="8">8</option>
    <option VALUE="9">9</option>
    <option value="10">10</option>
    </tr>
    <tr>

    <td><td colspan="2" align="centre">
    <input type="image" src="images/cart.gif" alt="Add to Cart" /></td>
    </tr>
    </tbody>
    </table>
    </form>