ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old May 24th, 2000, 10:52 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Simple question

<i><b>Originally posted by : V.Ganapathy (vganapathy@hotbot.com)</b></i><br />I am developing a simple quiz form,which has several questions with possible answers in the form of radio buttons.<br />After entering the selections,the results are displayed on the same page.Questions are:<br /><br />1.The form does not show the radio buttons selected for each question by the user,though I have his selections through request.form code.All the buttons are blank.<br />How do I get the form to show his selections.<br /><br />2.If there are numerous users running the quiz at the same time,how does ASP distinguish which user slected what? Is there a way to make the selection unique?<br />Thanks for any help.<br /><br /><br />

Reply With Quote
  #2  
Old May 24th, 2000, 11:26 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Karthik Vaidyanathan.V (karthikvn@future.futsoft.com;karthikvv@india.com) </b></i><br />Full Code<br /><br /><html><br /><body><br /><form name=quiz method=post><br />Q1. What is my name? <br><br /><%if request("q1") = "" then%><br /><input type=radio name=q1 value = 1> V.G<br><br /><input type=radio name=q1 value = 2> Gan<br><br /><input type=radio name=q1 value = 3> V.Ganapathy<br><br /><input type=submit name=submit value="submit"><br /><%else<br /> q1 = request("q1")<br /> Select Case q1<br /> Case 1:%><br /><input type=radio name=q1 value = 1 CHECKED> V.G<br><br /><input type=radio name=q1 value = 2> Gan<br><br /><input type=radio name=q1 value = 3> V.Ganapathy<br><br /> <%Case 2:> <br /><input type=radio name=q1 value = 1> V.G<br /><input type=radio name=q1 value = 2 CHECKED> Gan<br /><input type=radio name=q1 value = 3> V.Ganapathy<br /> <%Case 3:> <br /><input type=radio name=q1 value = 1> V.G<br /><input type=radio name=q1 value = 2> Gan<br /><input type=radio name=q1 value = 3 CHECKED> V.Ganapathy<br /><%End Select%><br /><script><br /><%if CInt(q1) = 3 then%><br /> alert("You are right")<br /><%else%><br /> alert("You are wrong")<br /><%end if%><br /></script><br /><%end if%><br /></body><br /></html><br /> <br /><br /><br /><br />------------<br />V.Ganapathy at 5/24/2000 7:52:16 AM<br /><br />I am developing a simple quiz form,which has several questions with possible answers in the form of radio buttons.<br />After entering the selections,the results are displayed on the same page.Questions are:<br /><br />1.The form does not show the radio buttons selected for each question by the user,though I have his selections through request.form code.All the buttons are blank.<br />How do I get the form to show his selections.<br /><br />2.If there are numerous users running the quiz at the same time,how does ASP distinguish which user slected what? Is there a way to make the selection unique?<br />Thanks for any help.<br /><br /><br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > Simple question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT