Skip to main content
Inspiring
September 1, 2017
Answered

Can you add a quiz point to a TEB (non-validated)

  • September 1, 2017
  • 1 reply
  • 357 views

Hey everyone,

I was wondering if the following was possible: (I am using Captivate 2017)

Would it be possible to add a quiz point if a TEB is equal to a specific value using advanced actions? For this TEB, I can't use Captivates built in validation feature because I need a custom success advanced action to execute. Would it be possible to assign a value after the advanced action has executed?

If this is not possible with an advanced action, would it be possible with Java?

If it is not possible with Java, is there another solution?

I look forward to an answer :)!

    This topic has been closed for replies.
    Correct answer Lilybiri

    That was not mentioned in your original question: that you have multiple TEB's on the same slide. In that case you'll have to look to JavaScript to add the proper amount of points to the score. You should have a look at this article by Steven Warwick:

    Custom quiz scoring in Adobe Captivate | eLearning

    To do this with advanced actions would need a scored or non-scored button for each TEB, which will make it too cumbersome.

    1 reply

    Lilybiri
    Legend
    September 2, 2017

    Java is a totally different programming language from JavaScript which you probably meant to refer to. Sorry for that comment.

    My question: since the entry in the TEB needs to be a 'specific value', why did you choose to have it non-validated?

    The easiest way to add score to the total quiz score is to use the functionality that each interactive object can have a score. For a TEB the score only can be attached when the TEB is validated. However, since you talk about advanced actions, you could use buttons to have the scoree added. 'Buttons' is not a typo: you can have two identical Next buttons, invisible in output to start with. Attach the score to one of those buttons. Create a conditional action to be triggered by the Success event of the TEB: show the scored button when the entry is correct, the unscored button when it is wrong.

    heintzt96Author
    Inspiring
    September 3, 2017

    Hey Lilybiri,


    Thanks for your reply. You certainly are a star on these forums!

    My issue with the validation is that I have 7 TEB's on one slide. I have one button validating them all and disabling the correct answers. I have check marks and x-marks displaying based upon correct/incorrect. I also have Javascript on entering the slide to make a custom keyboard for those TEB's.

    So with all of that taken into consideration: Would it be possible to have the built in Validation tool do all of that? EG: User types correct answer into TEB and it displays a Check mark + disabled the box, and if the user fails a "X-mark" is placed and a failure message displays?

    Lilybiri
    Legend
    September 3, 2017

    Yes, I should have mentioned I did have 7 on one page. I do understand where you heading with the cumbersome aspect. I appreciate your time and linking me to a page with JS information.

    Captivate has had a rougher learning curve than I expected, but this forum and your blog has been very helpful with finding the correct answers.


    At this moment my (old) blog is password protected. You can ask for a password (free) by sending your request to:

    info@lilybiri.com

    Captivate has so many features, that I tell most users to be patient and invest in some learning time especially if you want to explore this so versatile tool in depth. I still discover better work flows daily, even after my long exploring adventures with Captivate. Maybe I could find a better approach to your situation, but JS will certainly help you out at this moment.