Community Forums 

Main Content

Re:Dropdown box with optional checkbox

    Sep 12 2008 18:30:56

    #1

    Debbie Q

    Join date : 2008-09-18      Posts : 4994

    You need to use the form method addmulti and give each product a product number and you need a qty1 field. You need to name your color selection product1[]. You also need to remove the http:// from your return field value.

    <form method="post" action="http://ww10.aitsafe.com/cf/addmulti.cfm">;
    <input type="hidden" name="return" value="www.stridersports.com/rep-products.html">;
    <input type="hidden" name="userid" value="C4298967">
    <input type="hidden" name="price1" value="53.00">
    <input type="hidden" name="units1" value="10" />
    <input type="hidden" name="product1[]" value="Strider Running Bike" >
    <input type="hidden" name="qty1" value="1">

    <input type="hidden" name="product2" value="Drop Shipping Service" >
    <input type="hidden" name="price2" value="10.00" >

    <select name="product1[]" size="1">
    <option value="ST-1RD Red">Red </option>
    <option value="ST-1YE Yellow">Yellow </option>
    <option value="ST-1BL Blue">Blue </option>
    </select>
    <input name="qty2" value="1" type="checkbox">Add Drop Ship Service: $10.00

    Debbie Q

    Mal's Support: www.mals-e.com/support.php
    GT's Forms and examples: www.malsforms.com
    Helpful java scripts: www.gemasana.com/mals
    Shipping help documents: www.stoner.org.uk/mals

    My Create-A-Book Publishing - mycreateabook.com
    Personalized Books, Music CDs and Gifts for all ages and occasions.

    Please help me out and share my site on your networks.