3 Replies Latest reply: Jul 28, 2014 4:41 AM by ziofonta222 RSS

    add advanced action to submit button and setting different objectives score for the same course

    ziofonta222 Community Member

      Hi, i would like to increase a counter in a quiz slide when the user press the submit button, using advanced actions.

      It's like if the submit button is somehow inhibited from certain options, and i cannot find how to add an advanced action to it.

      what i need, is to allow unlimited attempt until the user selects the right answer. each time the user click on submit, a counter increases by one. When user finally select the right answer, we read the counter value and assign a different score, depending on the attempt (for example: 1st attempt=20 points, 2nd attempt=10 points, 3rd attempt=0 points)

      After that, i need to save all score obtained for a certain group of quiz slide separately from the "main score" (i think the main score is stored in cmi.objectives.0.score)  to have partials scores for a course. I examined the "advanced interactions" panel and i noticed that for each quiz slide there is a specific interaction ID and each quiz slide is associated typically to the same Objective ID. What i need is to associate different groups of slides to different Objective ID's.

      In Storyline i was able to do this by passing to the lms a cmi.objectives.n.score (where "n" is the place in the objectives array) and i did it by executing a javascript on success for each question slide. (each javascript added the score of previous slides in the same group to obtain the total score of the group to be passed to lms with a specific function).

      examining captivate scorm functions in the published scormdriver.js i found the following function

      function SCORM_SetObjectiveScore(strObjectiveID,intScore,intMaxScore,intMinScore)

      so i think it can be done the same way in captivate executing javascript in the right way.

      Is there also an easier solution to write different scores to different obectives in the same course?

      many thanks for any help!