Community Forums 

Main Content

Re:Gift Voucher Code

    Nov 10 2008 18:24:08



    Join date : 2008-09-18      Posts : 53

    Here's the original one fixed. The main problem was the way the <option> tags were coded.
    This is for XHTML 1.0 strict but should work otherwise.

    <form method="post" action="">;
    <p><input type="hidden" name="userid" value="E620196" />
    <select size="1" name="gift_amount">
    <option value="10">$10.00</option>
    <option value="25">$25.00</option>
    <option value="50">$50.00</option>
    <option value="75">$75.00</option>
    <option value="10">$100.00</option>
    <option value="25">$150.00</option>
    <option value="50">$200.00</option>
    </select> Name: <input type="text" name="gift_name" /> Email:
    <input type="text" name="gift_email" /> Message:
    <textarea name="gift_message" cols="20" rows="3"></textarea>
    <input type="submit" value="Buy Me" name="submit">
    <input name="product" type="hidden" value="Online/Emailed Gift Certificate" />

    Doug DePrenger

    Doug D
    Smartlab Software