My question is how can I push this into the quiz score? I believe I need to update cpQuizInfoPointsscored but I cannot work out how to do this. I've read the page https://elearning.adobe.com/2017/02/custom-quiz-scoring-in-adobe-captivate/ from but this doesn't seem to do the job I need.
Any help gratefully received.
Alternatively, it is possible to do this using the CpExtra HTML5 widget. Check out the details here:
Understood, and I tried to explain that this expert is not accessible anymore.
The widget may inspire you to look for an easy JS solution. Personally I only use JS when Captivate's shared/advanced actions fail. Transfer of the value of a user variable to a quiz variable is something I have wished for since eons.
I've got the widget and it is installed but can't seem to get the xcmndScore to work.
I've tried it this way...
But (I think) xcmndScore takes two parameters and I can only use one here.
Can you point me in the right direction please?
Following on from the above - Adding it as a LITERAL and then inserting the two parameters does actually work.
Good to see you got it to work.
Bit astonished that Steven's blog post is not what you want. Besides Tristan (widget king) and some others, I had great respect for his JS skills. Too bad that he has left our community.
That was off topic, but I strongly recommend Rod's proposal. Try out that fantastic widget!