Community Forums 

Main Content

Re:Form not working

    Feb 27 2009 13:22:03

    #1

    GT

    Join date : 2008-09-18      Posts : 3240

    A few errors in your form, try this:

    <form action="http://ww11.aitsafe.com/cf/add.cfm"; method="post" target="viewer">
    <input name="userid" type="hidden" value="D612946">
    <input name="return" type="hidden" value="www.mysite.com">;
    <input type="hidden" name="qty" value="1">
    <input type="hidden" name="price" value="45.00">

    <p><b>Virus Removal Booking</b></p>
    <p>Enter your date and time, please give at least 2 alternatives.</br><br>Price: Only $45.00</p>
    <p>Preferred Date/Time<br>
    <select name="product[]">
    <option value="Prefered Time - 9am,">9am</option>
    <option value="Prefered Time - 10am,">10am</option>
    <option value="Prefered Time - 11am,">11am</option>
    <option value="Prefered Time - 12pm,">12pm</option>
    <option value="Prefered Time - 1pm,">1pm</option>
    <option value="Prefered Time - 2pm,">2pm</option>
    <option value="Prefered Time - 3pm,">3pm</option>
    <option value="Prefered Time - 4pm,">4pm</option>
    <option value="Prefered Time - 5pm,">5pm</option>
    </select>
    <input type="text" name="product[]" size="10">
    </p>

    <p>1st Alternative<br>
    <select name="product[]">
    <option value="1st Alternative Time - 9am,">9am</option>
    <option value="1st Alternative Time - 10am,">10am</option>
    <option value="1st Alternative Time - 11am,">11am</option>
    <option value="1st Alternative Time - 12pm,">12pm</option>
    <option value="1st Alternative Time - 1pm,">1pm</option>
    <option value="1st Alternative Time - 2pm,">2pm</option>
    <option value="1st Alternative Time - 3pm,">3pm</option>
    <option value="1st Alternative Time - 4pm,">4pm</option>
    <option value="1st Alternative Time - 5pm,">5pm</option>
    </select>
    <input type="text" name="product[]" size="10">
    </p>

    <p>2nd Alternative<br>
    <select name="product[]">
    <option value="2nd Alternative Time - 9am,">9am</option>
    <option value="2nd Alternative Time - 10am,">10am</option>
    <option value="2nd Alternative Time - 11am,">11am</option>
    <option value="2nd Alternative Time - 12pm,">12pm</option>
    <option value="2nd Alternative Time - 1pm,">1pm</option>
    <option value="2nd Alternative Time - 2pm,">2pm</option>
    <option value="2nd Alternative Time - 3pm,">3pm</option>
    <option value="2nd Alternative Time - 4pm,">4pm</option>
    <option value="2nd Alternative Time - 5pm,">5pm</option>
    </select>
    <input type="text" name="product[]" size="10">
    </p>

    <p><input type="submit" value="Book my Scan!"></p>
    </form>

    Mals forms are at: http://www.tne.co.uk/mals/

    Having trouble with a form or need one building?
    Fast turnaround, but I do charge :)

    Mal's Forms / Scripts and the syntax are here.