Skip to main content
July 9, 2010
Question

CP4 - only allow 3 quiz attempts using advanced action

  • July 9, 2010
  • 2 replies
  • 910 views

Hi, im trying to create a multiple choice quiz that allows learners to attempt it up to 3 times. Each attempt takes them right through the quiz to the results slide. Ive tried an Advanced Action (see below), but it just loops to retry quiz (more than 3 times).

Aim:

If they pass they travel to results and onwards to the exit slide.

If they fail they go from the results slide to instructions slide again, to retry quiz. Unless they have tried 3 times, in which case they are taken straight to slide 6, which informs them they cannot attempt quiz again and need to contact training department. This slide then goes to exit.

Settings:

Each quiz slide allows one attempt before continuing.

Quiz set to optional so user can be sent to slide 6 without having to pass.

If pass jump to slide 5. this slide jumps to slide 7.

If fail execute advanced action (this is where i think im wrong as im new to AAs - have tried 10 or so different combos😞

    check if (cpQuizInfoAttempts is equal to 3) +

    begin  <NewLine>        

          Jump to slide slide 6 <NewLine>

          Add statement

     end

     Or Else

     begin  <NewLine>

          Jump to slide slide 3  <NewLine>

          Add statement

     end < NewLine>

     Add Statement

Filmstrip:

slide 1 -title

slide 2 - instructions

slide 3 - question 1

slide 4 - question 2

slide 5 - question 3

slide 5 - results (jumps to slide 7)

slide 6 - 3rd attempt failed (only access if failed 3 times)

slide 7 - exit

I can send a cp project mock-up via email if someone can help!?

thanks

Gav

This topic has been closed for replies.

2 replies

August 5, 2010

@tfarris21. No never got an answer. sorry to take a while to get back to you.

Gav

July 30, 2010

Just wondering if you've gotten an answer to this question because I'm having the very same issue.  I've tried several things from trying to have a var counter on # of attempts & then some javascript on a separate page to jump to an instruction pg after failed 3rd attempt, but nothing has worked.  Please let me know!  Thanks & I appreciate any help on this.

August 4, 2010

Ok, so I got it to work (at least the 1st time), then after that; every time I launched the course, it did not work.

I pulled a flash button widget on the stage & then

on the button properties "when the user clicks on the button" told it to "on success"  - "send email to" and

then typed in an email address.  I published the course & tested.  It worked fine.  However; after the course closed, I

tried launching it again & this time it did not work -- anyone have any ideas?

Lilybiri
Legend
August 4, 2010

Hello,

Sorry, seem to have missed this. Are you also still with CP4?

Lilybiri