Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quiz question

Status
Not open for further replies.

jonu61

Technical User
Sep 16, 2003
16
0
0
US
Hi.
I have a quiz in a training project that I am working on. In order to receive a certificate for training the user must first pass the quiz. The quiz is five questions. The user must get 3 of the five right to receive a certificate. I have two pages set up if the user passes the quiz it takes them to a congratulations page. If the user fails the quiz it takes them to a I'm sorry page. The problem I am having is that even when the user passes the quiz it takes them to the I am sorry page. Here is the script I am using:

global score
if score >=3 then
go to frame 39
else if score <=2 then
go to frame 42
end if

Does any one have any suggestions?

Thanks
 
The term "score" is to refer the Score (it's in your Score window) - you cannot use it for a global variable. Changing the name of the variable to something else should do the trick.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top