Copy link to clipboard
Copied
I have recently developed a course within a responsive project and have used a customised drag and drop quiz in addition to the other standard captivate 9 quiz slides. This drag and drop slide works well and is captured in the quiz results. I am interested to know how hide my back and next buttons so that they will only appear on the review quiz slide.
Cheers, Natalie
Use a Conditional Action executed On Slide Enter.
The IF statement will look at the value of the System Variable cpInReviewMode to find out if it is equal to 1 (which would mean you ARE in Review Mode) and then SHOW the buttons you specify ELSE hide them.
Copy link to clipboard
Copied
Use a Conditional Action executed On Slide Enter.
The IF statement will look at the value of the System Variable cpInReviewMode to find out if it is equal to 1 (which would mean you ARE in Review Mode) and then SHOW the buttons you specify ELSE hide them.
Copy link to clipboard
Copied
Thanks so much for your timely response Rod. My drag and drop question slide currently has an Advanced Action (which is a standard action). Is it possible to combine the two actions?
I have set up the conditional action as you suggested:
IF cpInReviewMode is equal to 1
Show Back Button
Show Next Button
In the second panel of this conditional advanced action, I wanted to convert the existing Standard Action
ExecuteJava Script_Window current
ExecuteJava Script_Window current
to
if 1 is equal to 1 (dummy condition)
ExecuteJava Script_Window current
ExecuteJava Script_Window current
However, the warning signs will not convert to ticks when I click on the "Update Actions" and therefore, it will not save my changes in the second panel. I am not sure why I receive the message "The script window is incomplete" and it will not save the changes made on the second panel.
I am not sure what to try next.
Cheers, Natalie
Copy link to clipboard
Copied
Why are you trying to use JavaScript in this Conditional Action?
I don't see what this is meant to achieve?
Copy link to clipboard
Copied
Allow me to explain again. I am working with a customised drag and drop template that I would like to include in the quiz results.
It was suggested that a conditional advanced action should be executed on slide entry, although there is a standard advanced action there (that happens to contain Javascript). So am I unsure what I do from here.
Cheers, Natalie
Copy link to clipboard
Copied
OK. Then you need to understand what the JavaScript was supposed to be doing in the original template before you can start modifying it to include in a totally different course module from where ever it originated. (You hadn't mentioned previously that you based this interaction on a template.) If you don't understand the JavaScript then you may need to get in touch with the original developer to get more information.
Copy link to clipboard
Copied
Thanks Rod, my apologies for not explaining that the interaction is based on a template. I will check with the developer.
Cheers, Natalie
Copy link to clipboard
Copied
Hi Rod,
The template provider confirmed that the Java script was for the font only and I was not to fussed about it, I was able to set up the advanced action you suggested and it is working perfectly.
Thank you so much for your help again, cheers,
Natalie