Picture of Ryan Brooks
Unlock next section button or trickle on assessment pass
by Ryan Brooks - Tuesday, 11 February 2020, 9:34 AM
 

Hi all,

I'm trying to find a way of setting the passing of the assessment to unlock the next section when someone passes the assessment. If they fail they are only able to retry until they pass it.

Does anyone know if this is possible?

Thanks

Ryan

Picture of Matt Leathes
Re: Unlock next section button or trickle on assessment pass
by Matt Leathes - Tuesday, 11 February 2020, 10:25 AM
 

Change the 'Set completion on' setting of the assessment results component to 'pass'.

Picture of Ryan Brooks
Re: Unlock next section button or trickle on assessment pass
by Ryan Brooks - Tuesday, 11 February 2020, 10:38 AM
 

Thanks for the info Matt!

Any idea which file I would need to apply that too?


Picture of Matt Leathes
Re: Unlock next section button or trickle on assessment pass
by Matt Leathes - Tuesday, 11 February 2020, 11:18 AM
 

You don't need to change any .js files in order to make configuration changes, these are all either made via the authoring tool UI (if using the authoring tool) or via the .json files (if working directly with the framework).

In this case it would be the assessment results component which can be found in components.json

You can find out more information in the component's README.

Picture of Ryan Brooks
Re: Unlock next section button or trickle on assessment pass
by Ryan Brooks - Tuesday, 11 February 2020, 11:50 AM
 

Ok great :)

I added "_setCompletionOn": "pass", to the assessment results component and also the article which the assessment is on, but you can still click and trickle button to continue when you fail. 

Any ideas with this? We are using an older version of Adapt, version 2 I think so that might be the issue.

Thanks again in advance, been really useful.

 

Picture of Matt Leathes
Re: Unlock next section button or trickle on assessment pass
by Matt Leathes - Tuesday, 11 February 2020, 12:40 PM
 
We are using an older version of Adapt, version 2 I think so that might be the issue.

Yes it will be down to that. It really helps if you can mention things like that!