FAQ
 
Products Showcase Download Store Support
Home :: Support :: Community :: CourseLab Issues

Re: Re: (2) (2) (2) (1) Calculate scores without using Question or Test objects

Re: Re: (2) (2) (2) (1) Calculate scores without using Question or Test objects 
Author:  barend
Date: 07.07.2010 03:31:11
You might add to the onclick action of the submit button:
METHOD(Object='q',Method='DisableInput')

Then in the first slide add an action beforeDisplay:
VARIABLE(Name='scoreCounter',Value='0',Scope='Entire Module')

and at the right IF condition on the onclick of the submit button:
VARIABLE(Name='scoreCounter',Value='#scoreCounter+1',Scope='Entire Module')

Now each correct answer adds 1 to your own variable 'scoreCounter'.
In the end of your course / test you can use the value of scoreCounter.
On a slide make an object 'Simple Textbox', identifier myText. Enter the text 'your score is:'.

This slide's action afterdisplay:
METHOD
Object='myText'
Method='Add Text'
Where to add: At the end
Adding style: One paragraph
Text to add: #scoreCounter

 
...

Welcome to CourseLab Community! If you have any questions regarding CourseLab - please post it here in corresponding thread. If you cannot find the thread that exactly fit to your question - you can place New thread message. If such thread already exists - please post your question there. Threads are time slipping - last changed threads are always on the top of the threads list.

Total number of threads: 1684
Total number of comments: 6259
Filter by main thread topic:
Search for:  
 
v :)
Subject Author Date
 
Calculate scores without using Question or Test objects Amer Abdeen 30.06.10
 
Re: (1) Calculate scores without using Question or Test objects Nick James 30.06.10
 
Re: (2) (1) Calculate scores without using Question or Test objects Amer Abdeen 03.07.10
 
Re: (2) (2) (1) Calculate scores without using Question or Test objects barend 03.07.10
 
Re: (2) (2) (2) (1) Calculate scores without using Question or Test objects Amer Abdeen 06.07.10
Re: (2) (2) (2) (2) (1) Calculate scores without using Question or Test objects barend 07.07.10
 
Re: (2) (2) (2) (2) (2) (1) Calculate scores without using Question or Test objects Amer Abdeen 12.07.10
 
Re: (2) (2) (2) (2) (2) (2) (1) Calculate scores without using Question or Test objects barend 12.07.10
 
Re: (2) (2) (2) (2) (2) (2) (2) (1) Calculate scores without using Question or Test objects Nick James 13.07.10
 
Re: (2) (2) (2) (2) (2) (2) (2) (2) (1) Calculate scores without using Question or Test objects Amer Abdeen 13.07.10
 

Reply

You can also post this message as registered user. [Log in]
Author:
E-mail:
Subject:
Options:  Notify me if there is a new reply
Message emoticon:
Message body:
Insert smilie into text:
 
Jump to thread: