on the site there is 6 theory tests. with 35 questions to each test.
I was wondering if there was a script that would allow me to only let the user go onto the next test if they had completed the number of points needed to pass the test they are completing?
I.e there's 35 questions the user needs to score 30 correct to pass that test.
what I wanted to do is if the score is 29 or less they won't be able to go onto the next test. And if they score 30 or more this then gives them a password to get to the next test... at the end of the test. Does this make sense? Hope someone could help me out here....Many Thanks in advance for any assistance you can give. Regards Tony.
Ps You can see the site here.
Anyway post back which way you would like to do this and then we can go from there.
Hi Thanks for the quick reply. as I said, I know nothing about scripting at all, so I would also need help in putting on the site? Anyway would be okay but I would need help in explaining in Basic terms how I would apply it to the site....
Many thanks again Tony.
do you have your questions all ready?
Are all the questions multiple chose?
Is yes then how many answers per question?
does the amount of answers vary for every question?
Are the questions going to change at any time?
Do you want to store the results anywhere?
Does the user get a copy of the answers he/she submitted?
This may sound an easy task but it would take a lot of coding. The best way to approach this is to think about the questions about. Then if you decide to do this server-side then you need to get your database ready for your questions and answers.
If you do decide to use a database just let me know and i will give you a normalized table structure for you to work with. You would need to find out which database will suit you best for this task, maybe you are already using one for the site.
Last edited by Ribeyed; 02-12-2003 at 07:43 AM.
If you look at the site, You'll see the theory test as it is.
And you'll get a better Idea of what i'm after?
The only thing is if you did this with ASP it would be very complex but you would possible be about to do all the tests from 1 or 2 pages. If you would like us to see what happens when we get 30 out of 35 please can you post the answers to the questions because that was too much trying to answer them, lol.
Last edited by Ribeyed; 02-12-2003 at 08:54 AM.
Well when you finish the test at the moment. there is just a popup message saying how many you scored out of 35.
But you can do all six tests even if you don't pass them. What I wanted to do is only let them do the next test once they have passed the previous one. Make any sense? Or do you think it would be to much hassle doing this???
Many thanks again Tony.
Ribeyed, I know what you mean about the answers...........I wrote the tests but still bloody failed them
How can you work that out
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)