Community Forums 

Main Content

Re:A pull down menu with several text boxes

    Oct 24 2010 21:06:57

    #1

    Flaggfish

    Join date : 2008-09-23      Posts : 77

    Thanks Debbi
    I redid the code as you suggested. I assumed I needed to use user 1 user 2 user 3 etc. But it still doesn't work. It doesn't even work if I skip the users fields and just use the pull down info alone. I've made a bunch of carts in the past, but I must have something wrong here:

    <form method="POST" action="http://ww4.aitsafe.com/cf/addmulti.cfm">;
    <div align="left">
    <p>
    <input type="hidden" name="return" value="www.skimorsefarm.com/buytickets.html">;
    <input type="hidden" name="userid" value="65393889">
    <input type="hidden" name="qty" value="1">
    <select size="1" name="productpr1[]">
    <option value="Choose Pass Option">Choose Pass Option</option>
    <option value="Early Bird Adult:100">Early Bird Adult - $100.00</option>
    <option value="Early Bird Senior:75">Early Bird Senior - $75.00</option>
    <option value="Early Bird Youth:75">Early Bird Youth - $75.00</option>
    <option value="Early Bird Couple:175">Early Bird Couple - $175.00</option>
    <option value="Early Bird Family:205">Early Bird Family - $205.00</option>
    </select>
    </p>
    <input type="hidden" name="product1[]" value="{br}User 1:,">
    <p>Add names of users associated with this pass:<br />
    <textarea name="product1[]" cols="40" rows="3"></textarea>
    </p>
    <p><br>
    <input type="hidden" name="product1[]" value="{br}User 2:,">
    <p>Add names of users associated with this pass:<br />
    <textarea name="product1[]" cols="40" rows="3"></textarea>
    </p>
    <p><br>
    <input type="hidden" name="product1[]" value="{br}User 3:,">
    <p>Add names of users associated with this pass:<br />
    <textarea name="product1[]" cols="40" rows="3"></textarea>
    </p>

    <input type="submit" value="Add to Cart">
    &nbsp;&nbsp;&nbsp;
    <INPUT TYPE="SUBMIT" VALUE="Show Cart">
    &nbsp;&nbsp;&nbsp;
    <input type="reset" value="Reset">