[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.8

dynamically created radio button, how to keep checked

Asked by AWSHelpdesk in Active Server Pages (ASP)

Tags: ASP

I have a form on an asp page that has some radiobutton created dynamically based on a list of products brought back by a stored procedure form a database.

When a user clicks on a radio button the page is refreshed and totals etc are recalculated based on the new selection, but when this happens the radio button is cleared, how can I keep this checked?

Here is the code that sets up the radio button.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
<% 
do until rs.eof
theid = trim(rs("packid"))
ppmem = rs("PackPriceMEM")
ppaws = rs("PackPriceAWS")
packtype = rs("BuilderType")
qty = Request("packs_" & theid)
qty = cint(qty)
theprice = 0
theprice = ppaws
subtotal = (theprice * qty)
total = total + subtotal
totalqty = totalqty + qty
 %>
 <table cellpadding="2px" border="0" cellspacing="0" width="100%">
	<tr bgcolor="#F3F3F3">
	<td><input type="radio" name="packs_<%=theid%>" onClick="this.form.submit()" class="formfield" size="6" tabindex="1" value="1">td>
	<td width="49%"><font color="#000000" size="1"><% =rs("PackName") %><input type="hidden" name="packName" value="<% =rs("PackName") %>"/>				</font></td>
	<td><div align="right" style="font-size: 10px">
	$<input readonly="readonly" value="<%=FormatNumber(subtotal)%>" name="subtotal_<%=theid%>" class="formfield" size="6" style="text-align: right"></div></td>
	</tr>
	</table>
<%
	rs.movenext
	loop %>
[+][-]01/14/08 05:35 PM, ID: 20659250Accepted Solution

Your question has an Asker Certified™ answer! AWSHelpdesk verified that this solution worked for them--which means it will likely work for you, too. Click to view the solution free for 30-days now.

About this solution

Zone: Active Server Pages (ASP)
Tags: ASP
Sign Up Now!
Solution Provided By: alorentz
Participating Experts: 1
Solution Grade: B
 
[+][-]01/13/08 04:22 PM, ID: 20649978Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/13/08 04:23 PM, ID: 20649983Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/13/08 04:43 PM, ID: 20650021Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/14/08 06:49 AM, ID: 20653247Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/14/08 02:19 PM, ID: 20657550Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20100308-EE-VQP-140 / EE_QW_2_20070628
Your technology problems solved.
Close See Plans and Pricing. Try it FREE for 30 days.