View Single Post
Old 12-01-2012, 06:32 AM   PM User | #11
Samal
New to the CF scene

 
Join Date: Nov 2012
Posts: 6
Thanks: 3
Thanked 0 Times in 0 Posts
Samal is an unknown quantity at this point
Quote:
Originally Posted by stevenmw View Post
http://www.pixel2life.com/publish/tu...p_quiz_system/

Like i said, break it into parts. Design a form with three questions or so. Then build a simple PHP script to take the answers from the quiz, and do something with it. (above I told you two commands to look into for this.)

Please be sure to wrap your code using the pound button in the post toolbar.
Now can design two question on my webs.com site with following code yes this can be extend to more no of question screenshot is also in following

HTML Code :

What is JavaScript?

<form method="POST" onSubmit="return checkAnswer(this,'B');">

<input TYPE="RADIO" VALUE="A" NAME="cc"/>
A. Another name for Java<br/>

<input TYPE="RADIO" VALUE="B" NAME="cc"/>
B. A scripting language mostly for the web<br/>

<input TYPE="RADIO" VALUE="C" NAME="cc"/>
C. When you use Java without compiling<br/>

<input TYPE="SUBMIT" VALUE="Submit Answer"/>

</form>



Who is Bill Gate ?

<form method="POST" onSubmit="return checkAnswer(this,'B');">

<input TYPE="RADIO" VALUE="A" NAME="cc"/>
A. Owner of Microsoft<br/>

<input TYPE="RADIO" VALUE="B" NAME="cc"/>
B. Owner of Facebok<br/>

<input TYPE="RADIO" VALUE="C" NAME="cc"/>
C. None of Above<br/>

<input TYPE="SUBMIT" VALUE="Submit Answer"/>

</form>

Screen shot is as follows

in the attachment
Attached Thumbnails
Click image for larger version

Name:	questionaire jpg.PNG
Views:	21
Size:	11.1 KB
ID:	11748  
Samal is offline   Reply With Quote