-
1. Re: Captivate 8 Retake Quiz
Lilybiri Nov 10, 2014 12:09 PM (in response to AJMerritt)You can use the system variable cpQuizInfoAttempts. I suppose the knowledge questions are all 'before' the the really graded questions? If not, let me know.
The system variable will be set to 2 when the user clicks the Retake button on the score slide. A conditional action On Enter for the first knowledge question slide will do the trick:
If cpQuizInfoAttempts is greater than 1
Jump to QGraded this is the label (or number) of the first real question slide
ELSE
Continue
Lilybiri
-
2. Re: Captivate 8 Retake Quiz
AJMerritt Nov 10, 2014 12:34 PM (in response to Lilybiri)Hello Lilybiri,
When I go to the first knowledge question slide do I select Execute JavaScript and paste the code below?
If cpQuizInfoAttempts is greater than 1
Jump to
QGraded
this is the label (or
number) of the first real question slideELSE
Continue -
3. Re: Captivate 8 Retake Quiz
Lilybiri Nov 11, 2014 2:26 AM (in response to AJMerritt)This is not Javascript, it is an advanced (or shared) action. I never mentioned Javascript at all.
-
4. Re: Captivate 8 Retake Quiz
AJMerritt Nov 11, 2014 6:59 AM (in response to Lilybiri)Thank you very much. Your suggestion worked perfectly.
-
5. Re: Captivate 8 Retake Quiz
Lilybiri Nov 11, 2014 7:24 AM (in response to AJMerritt)Some call me 'Advanced Actions Queen'
-
6. Re: Captivate 8 Retake Quiz
AJMerritt Nov 11, 2014 7:32 AM (in response to Lilybiri)Lilybiri, I have one more question for you. Before the quiz starts I have a slide where you enter your name and hit the Start Exam button. How do I set that page so that you cannot click the forward button on the task bar unless you enter your name and click on the Start Exam button?
The way it is now if someone arrives on the page just before they start the exam and click on the forward button they go to the next slide Quiz question 1 without submitting their name.
Thank you all mightly Advanced Actions Queen.
-
7. Re: Captivate 8 Retake Quiz
Lilybiri Nov 11, 2014 7:57 AM (in response to AJMerritt)Will point to another blog post, where I explain how you can test if the entry in a TEB is blank:
-
8. Re: Captivate 8 Retake Quiz
AJMerritt Nov 11, 2014 8:30 AM (in response to Lilybiri)Hi Lilybiri,
Thank you but does this somehow prevent you from simply clicking the forward button on the taskbar if the name field is left blank and advancing to the next slide? If the name field is blank I want the forward button to not advance you to the next slide.
Thanks!
-
9. Re: Captivate 8 Retake Quiz
Lilybiri Nov 11, 2014 9:35 AM (in response to AJMerritt)Never use the playbar unless you are prepared to allow total control by the user: they can even just scrub the progress bar till the end and not watch anything! Personally I almost never use it, also because for non-linear courses playbar is just confusing, same with branching scenarios.
At least you'll have to hide the playbar for this slide (if you want that control on the other slides), there is a simple Hide Playbar command in the list. And provide a custom Next button or have the action 'Go to Next Slide' triggered by the conditional action if the TEB is not blank.
-
10. Re: Captivate 8 Retake Quiz
AJMerritt Nov 11, 2014 10:12 AM (in response to Lilybiri)Hi Lieve,
Thank you for that suggestion. Now in my TEB I have a default value (Enter Your Full Name). Is there a way to clear default value when the person clicks into the TEB to enter there name? At this point you would have to manually delete the default value before entering your name.
-
11. Re: Captivate 8 Retake Quiz
Lilybiri Nov 11, 2014 10:19 AM (in response to AJMerritt)No, for that reason I never enter a default value but put a text container to ask the user to enter their name (or add a VO)
-
12. Re: Captivate 8 Retake Quiz
AJMerritt Nov 11, 2014 10:46 AM (in response to Lilybiri)Ok, thank you again. I am still a little hung up on the Null value issue. If my TEB is left blank and the submit button is hit, I do not want people to advance to the quiz slides. There name has to be entered before they can advance. Does the blog you wrote "Where is Null" deal with that percise issue? I tried using the actions you wrote and nothing worked.
v_name I know should be the my variable name and v_null should I write it like that or the name of my variable followed by _null? In the actions when I put in Show and then type in NameIncorrect I do not get the green square on the left.
I am sorry just a little confused on how to correctly get this to work.
-
13. Re: Captivate 8 Retake Quiz
Lilybiri Nov 11, 2014 10:52 AM (in response to AJMerritt)You used the old variable names, now it is cpCmndGotoFrame and cpInfoCurrentFrame. That expression will rewind the playhead one frame back, so that it gets again in the active portion of the TEB to allow the user to enter data. I invented a word for that kind of navigation: micro-navigation. See: Micro-Navigation in Adobe Captivate - Captivate blog
v_name is the variable associated with the TEB. You have to create v_null as well but leave it empty. Because Captivate doesn't allow to enter strings, you cannot use "" which would be the case in a programming language if you wanted to indicate an empty text. If you define a variable v_null that has no value, it is considered as an empty text.
-
14. Re: Captivate 8 Retake Quiz
AJMerritt Nov 11, 2014 11:03 AM (in response to Lilybiri)Ok, I got everything you said but under Actions you have Show (I got that part) but what is NameIncorrect. Is that another varialble I have to create. When I typed it in I do not get a green check mark.
-
15. Re: Captivate 8 Retake Quiz
Lilybiri Nov 11, 2014 11:14 AM (in response to AJMerritt)It is the text that has to appear (Feedback that name is empty) when the TEB remained empty. You have to create the text (caption or shape) and make it initially invisible in its Properties, by clicking on the red eye icon top left.
-
16. Re: Captivate 8 Retake Quiz
AJMerritt Nov 11, 2014 11:59 AM (in response to Lilybiri)Hi Lieve,
Success!!!!!! Thank you so much. Works like a charm.



