Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Form and variables

Posted 18 Aug 2006 23:33:34
1
has voted
18 Aug 2006 23:33:34 Paul Edwards posted:
Hi

i have a form with radio buttons within it, i have managed to send the data to a asp page with the get command and url and using request.quarystring command, but i have two radio buttons (description and dimentions) which i would like to sent the results to the same page as the rest is going, but i think i need to create some variables for total and description and dimentions

please help!

i am using dw 8 and access 2000 and asp

heres some code from my html page

<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>

Please help or point me in right direction with these variables
</form>

thank you




Tall Paul

Reply to this topic