Forums

ASP

This topic is locked

Radio Buttons

Posted 16 Aug 2006 20:46:39
1
has voted
16 Aug 2006 20:46:39 Paul Edwards posted:
Hi

i am new to asp and i have built a site using dreamweaver and microsoft access 2000 and asp for my dynamic content, i have added some radio buttons and have been reading pages and pages from books to try and find my answers, im getting no where and starting to feel really tired.


please help

this is some of my code

<form id="products" name="products" method="get" action="cart.asp">
<table width="100%" border="0">
<tr>
<td>Description</td>
<td>Dimentions</td>
<td>Shiplap</td>
<td>Overlap</td>
<td>Treatment</td>
<td>Erect</td>
<td>Cart</td>
</tr>
<%
While ((Repeat1__numRows <> 0) AND (NOT rsApex.EOF))
%>
<tr>
<td><%=(rsapex.Fields.Item("description".Value)%></td>
<td><%=(rsapex.Fields.Item("dimentions".Value)%></td>
<td><input type="radio" id="wood"name="wood" value="<%=(rsapex.Fields.Item("shiplap".Value)%>">
£ <%=(rsapex.Fields.Item("shiplap".Value)%>.00</td>
<td><input type="radio" id="radio" name="wood" value="<%=(rsapex.Fields.Item("overlap".Value)%>" />
£ <%=(rsapex.Fields.Item("overlap".Value)%>.00</td>
<td><input type="radio" id="treatment" name="treatment" value="<%=(rsapex.Fields.Item("treatment".Value)%>">
£ <%=(rsapex.Fields.Item("treatment".Value)%>.00</td>
<td><input type="radio" id="erect" name="erect" value="<%=(rsapex.Fields.Item("erect".Value)%>">
£ <%=(rsapex.Fields.Item("erect".Value)%>.00</td>
<td><input type="submit" value="Add To Cart" /></td>
</tr>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
rsApex.MoveNext()
Wend
%>
</table>
</form>

All i want to do is read the information selected and pass it on to intergrate into paypal buttons

<form target="paypal" action="www.paypal.com/cgi-bin/webscr" method="post">

<input type="hidden" name="cmd" value="_cart">

<input type="hidden" name="add" value="1">

<input type="hidden" name="bn" value="webassist.dreamweaver.4_0_3">

<input type="hidden" name="business" value="!!!!! !!!!">

<input type="hidden" name="item_name" value="">

<input type="hidden" name="amount" value="29.00">

<input type="hidden" name="currency_code" value="GBP">

<input type="hidden" name="return" value="">

<input type="hidden" name="cancel_return" value="">

<input type="hidden" name="receiver_email" value="">

<input type="hidden" name="mrb" value="">

<input type="hidden" name="pal" value="">

<input type="hidden" name="no_shipping" value="">

<input type="hidden" name="no_note" value="0">

<input type="image" name="submit" src="images.paypal.com/images/x-click-but22.gif" border="0" alt="Make payments with PayPal - it's fast, free and secure!">

</form>


if some one could please point me in right direction or help i would be very gratefull


Thank you Pauled

Replies

Replied 17 Aug 2006 23:38:17
17 Aug 2006 23:38:17 Paul Edwards replied:
please please please

Reply to this topic