User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 373,915 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,615 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 15134 | Replies: 31
Join Date: Jun 2005
Location: California
Posts: 92
Reputation: djbsabkcb is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
djbsabkcb's Avatar
djbsabkcb djbsabkcb is offline Offline
Junior Poster in Training

Help radio button ASP question??

  #1  
Aug 8th, 2005
Below is my source code for a questionnaire I created using HTML and ASP. It contains radio buttons for the selections. I coded it using ASP and HTML. However, when I click the submit button the selections made by user are not displayed on the screen. What am I missing?



HTML code::
<html>
<h1><STRONG><var>eLMS </var>Helpdesk</STRONG></h1>
<form>
<!--<td><STRONG>Dear<%=cookie.username%></STRONG><br>-->
<td><STRONG>You recently sent an email to the <var>eLMS </var>Helpdesk regarding a concern or problem you experienced with the new <var>eLMS</var> ( Learning Management System ).   Please complete this Customer Satisfaction Survey concerning the service you were provided.</STRONG><br>
</td></tr></form>
<!--<form method="post" action="processform.asp">  -->
<form method="post" action="C:\Documents and Settings\Administrator.ARC00WN82534000\Desktop\eLMS FORM1\eLMS feedback form\eLMS_feedback_form_process.html">
<table border="1" bgcolor="#98AFC7">
<tr>
<td align="center">
<br>    <br>
<blockquote>
<!--First Name: <input type="text" size="25" name="f1"><br> 
Last Name: <input type="text" size="25" name="f2"><br>-->

<br>
<DIV align="center "><TABLE>
<br>
<STRONG>What was your reason for contacting the <var>eLMS</var> Help Desk? 
 </STRONG>
<br>




<input type="radio" name = "reason" value = "0"> Unable to login to eLMS<br>
<input type="radio" name = "reason" value = "1">Unable to connect to eMLS login page<br>
<input type="radio" name = "reason" value = "2">Password reset request<br>
<input type="radio" name = "reason" value = "3">Unable to launch course<br>
<input type="radio" name = "reason" value = "4">Course progress is not being saved<br>
<input type="radio" name = "reason" value = "5">Unable to print report or completion certificate<br>
<input type="radio" name = "reason" value = "6">Received e-mail message concerning Learning Expiration Notification<br>
<input type="radio" name = "reason" value = "7">Other<br>


<br>
<STRONG>How long did it take to get a response to your e-mail?</STRONG><br>



<input type="radio" name = "response" value = "0">Under 1 hour<br>
<input type="radio" name = "response" value = "1">2 - 6 hours<br>
<input type="radio" name = "response" value = "2">6 - 12 hours<br>
<input type="radio" name = "response" value = "3">1 business day<br>
<input type="radio" name = "response" value = "4">More than 1 business day<br>
<input type="radio" name = "response" value = "5">They did not reply to my e-mail<br>




<br>
<STRONG>Was your problem or issue resolved?</STRONG><br>



<input type="radio" name = "resolved" value = "0">Yes<br>
<input type="radio" name = "resolved" value = "1">No<br>






<br>
<STRONG>Overall, how would you rate your customer service experience?</STRONG><br>



<input type="radio" name = "rate" value = "0">Very Satisfied<br>
<input type="radio" name = "rate" value = "1">Satisfied<br>
<input type="radio" name = "rate" value = "2">Neutral<br>
<input type="radio" name = "rate" value = "3">Unsatisfied<br>
<input type="radio" name = "rate" value = "4">Extremely unsatisfied<br>

</TABLE>


</DIV>

<br><STRONG>Do you have any comments or suggestions that would help us improve our eLMS customer service?   </STRONG>

<textarea name="comments" rows="5" cols="50">
</textarea><br><br>


<input type="submit" value="SUBMIT" name="action">
<input type="reset" value="RESET">
<!--<a href="C:\Documents and Settings\Administrator.ARC00WN82534000\Desktop\FAA eLMS feedback formradio.html">Feedback</a></font></p> -->
</blockquote>
<br>
end of HTML code.






ASP code::

<html>
<head>

<title>
  eLMS Feedback Form Process
</title>



<body bgcolor = "white">

<h1>
FORM OUTPUT
</h1>

<blockquote>

	<b>  Reason for contacting:</b> <%=Request.Form("reason")%> <br><br>

		<blockquote>
			<%
				theCount = Request.Form.Count
					For i = 0 to theCount
						Response.Write("<b>"& i & " - " & Request.Form(i) & "</b><br>")
					Next 
			%>
		</blockquote>

 	<b>  Response Time:</b> <%=Request.Form("response")%> <br><br>

		<blockquote>
			<%
				theCount = Request.Form.Count
					For i = 0 to theCount
						Response.Write("<b>"& i & " - " & Request.Form(i) & "</b><br>")
					Next 
			%>
		</blockquote>

	<b>  Issue Resolved:</b> <%=Request.Form("resolved")%> <br><br>

		<blockquote>
			<%
				theCount = Request.Form.Count
					For i = 0 to theCount
						Response.Write("<b>"& i & " - " & Request.Form(i) & "</b><br>")
					Next 
			%>
		</blockquote>


	<b>  Rate Service:</b> <%=Request.Form("rate")%> <br><br>

		<blockquote>
			<%
				theCount = Request.Form.Count
					For i = 0 to theCount
						Response.Write("<b>"& i & " - " & Request.Form(i) & "</b><br>")
					Next 
			%>
		</blockquote>

	

	<b>  Comments: </b>  <%=Request.Form("comments")%> <br><br><br>

</blockquote>


<hr>


</html>

</head>

end of ASP code::
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ASP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the ASP Forum

All times are GMT -4. The time now is 5:21 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC