View Single Post
  #7 (permalink)  
Old Jul 27th, 2006, 13:35
aspkid123 aspkid123 is offline
New Member
Join Date: Jul 2006
Location: Toronto
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Re: subtotals and totals

the items in the drop down menu are randomally generated by a variable.

i tried this code:

<% phoneQty<%=item%> = Request.form("phoneQty<%=item%>") %>

But it gave me an error page could not be displayed. Is there something wrong in the syntax.

<tr>
<td colspan=2 nowrap id="phoneSec<%=item%>" name="phoneSec<%=item%>">
<font class="smallBody">Select Quantity:</font>
<select name="phoneQty<%=item%>">
<% for i=0 to AllowedPhones%>
<option value="<%=i%>" <%if phoneQty(item)=i then%>selected<%end if%>><%=i%></option>
<%next%>
</select>
</td>
</tr>
Reply With Quote