Community Forums 

Main Content

Re:Donation form with radio buttons

    Feb 11 2009 06:57:29

    #1

    GT

    Join date : 2008-09-18      Posts : 3207

    Hi Jeremy,

    I'm not sure if you use product1[] with 5 products?

    Is this any good?

    <form method="post" action="http://ww12.aitsafe.com/cf/pay.cfm">;
    <input type="hidden" value="E7136689" name="userid" />
    <input type="hidden" name="qty1" value="1" />
    <select name="productpr1">
    <option>Please choose your donation type and amount</option>
    <option value="OIA Legal Center Donation - Tax Deductible: 25">OIA Legal Center Donation - Tax Deductible $25</option>
    <option value="OIA Legal Center Donation - Tax Deductible: 50">OIA Legal Center Donation - Tax Deductible $50</option>
    <option value="OIA Legal Center Donation - Tax Deductible: 75">OIA Legal Center Donation - Tax Deductible $75</option>
    <option value="OIA Legal Center Donation - Tax Deductible: 10">OIA Legal Center Donation - Tax Deductible $100</option>
    <option value="OIA Legal Center Donation - Tax Deductible: 250">OIA Legal Center Donation - Tax Deductible $250</option>
    <option value="OIA Education Center Donation - Tax Deductible: 25">OIA Education Center Donation - Tax Deductible $25</option>
    <option value="OIA Education Center Donation - Tax Deductible: 50">OIA Education Center Donation - Tax Deductible $50</option>
    <option value="OIA Education Center Donation - Tax Deductible: 75">OIA Education Center Donation - Tax Deductible $75</option>
    <option value="OIA Education Center Donation - Tax Deductible: 100">OIA Education Center Donation - Tax Deductible $100</option>
    <option value="OIA Education Center Donation - Tax Deductible: 250">OIA Education Center Donation - Tax Deductible $250</option>
    <option value="OIA Lobbying and Legislative Action - Not Tax Deductible: 25">OIA Lobbying and Legislative Action - Not Tax Deductible $25</option>
    <option value="OIA Lobbying and Legislative Action - Not Tax Deductible: 50">OIA Lobbying and Legislative Action - Not Tax Deductible $50</option>
    <option value="OIA Lobbying and Legislative Action - Not Tax Deductible: 75">OIA Lobbying and Legislative Action - Not Tax Deductible $75</option>
    <option value="OIA Lobbying and Legislative Action - Not Tax Deductible: 100">OIA Lobbying and Legislative Action - Not Tax Deductible $100</option>
    <option value="OIA Lobbying and Legislative Action - Not Tax Deductible: 250">OIA Lobbying and Legislative Action - Not Tax Deductible $250</option>
    </select><br />
    <span style="font-weight: bold;">Please enter your credit card billing information:</span>
    <table width="300">
    <tbody>
    <tr><td>Name</td><td><input type="text" name="inv_name" /></td></tr>
    <tr><td>Company</td><td><input type="text" name="inv_company" /></td></tr>
    <tr><td>Address</td><td><input type="text" name="inv_addr1" /></td></tr>
    <tr><td>City</td><td><input type="text" name="inv_addr2" /></td></tr>
    <tr><td>State </td><td><input type="text" name="inv_state" /></td></tr>
    <tr><td>Zip </td><td><input type="text" name="inv_zip" /></td></tr>
    <tr><td>Phone </td><td><input type="text" name="tel" /></td></tr>
    <tr><td>Email </td><td><input type="text" name="email" /></td></tr>
    </tbody>
    </table>
    <br />
    <input type="submit" value="Donate" />
    </form>

    Mals forms: 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.