Skip to main content
Inspiring
March 29, 2018
Answered

Clear Interaction IDs on objects before reporting to LMS

  • March 29, 2018
  • 3 replies
  • 755 views

Hi folks! I've been lurking for years and really appreciate everything I've learned in these forums!  Well, I finally hit a problem that I could use a little help with.

I'm working in the Captivate 2017 release (v 10.0.0.192) and we use Captivate Prime for our LMS.  This project will be published in HTML5.

I have a slide with several smart shape buttons that report to Prime.  After selecting a button, the learner must select Submit to continue to the next slide.  I have advanced actions that allow only one button to appear selected at a time and Submit will only grant navigation to the next slide after at least one button has been pressed.   

This all works fine.  The problem is that if a user is feeling wishy-washy or accidentally selects more than one button, EVERY button that was selected will get reported as a positive result to the LMS and there's no way to tell (from the data reported to prime) which was the intended selection at the time the Submit button was selected. It should be noted that the advanced actions on each button assign the button's value to a variable, so I DO know which was the most recent selection - I just can't get user variables to report to Prime.

Is there a way to clear the Interaction IDs associated with the other buttons so that only the most recently selected value is reported?

    This topic has been closed for replies.
    Correct answer Lilybiri

    There may be a problem with the TEB - I'm not sure that it will report to Prime the way I have it now. It's marked "No" on the "Include in Quiz" column in the Advanced Interaction report.  I have selected "Validate User Input" and added my identifiers, but I don't see a way to include it in the quiz or give it an Interaction ID.  It does write to a variable, of course - but that's right back where I started.  I'm still going to include it in this test run and will let you know the actual result after I've uploaded the course to Prime and ran a report, but I'm currently not optimistic.  Can you think of anything I've missed?

    Maybe there's another way to do it.  The FIB's self check is limited to 15, but I may be able to "trick" it by assigning an advanced interaction to the "After Survey:" action that checks cpQuizInfoAnswerChoice for one of the identifiers.  I'm working on that now, but I'm not sure if it's possible to "reset" the question after the user selects the Submit button in the case where the answer doesn't contain one of the identifiers. We'll see, I guess!

    I don't mind the workarounds (in fact, I'm enjoying trying different things), but did you or anyone else know if my original question was possible - being able to clear or reset the Interaction ID of buttons so that only the most recent selection reports?  If that's an option, I'd rather do that, but if it's not possible, I'll keep trying other things


    Why did you not include the TEB score in the Quiz? Am I wrong when I think you included the scores with the original version? I was not sure it would work, but I know that the TEB entry was reported in all the LMS's I have used, when the score was included in Quiz. Was not sure about Prime.

    No, cannot help you with the original question, and apparently, none of the great experts popped in neither. I suspect this is about tweaking a file that takes care of the transfer to Prime.

    3 replies

    Inspiring
    July 20, 2022

    Would like to follow up on this.  Like OP, I have a screen of 15+ smart shapes as buttons so I cannot use the built in Multiple Choice function in captivate.  I only want the Interaction data in my LMS to be captured once they hit submit at the end of the quiz but the LMS is recording every single button that is clicked.  

     

    Again, I do not want to use a text entry box.  Only the final choice of the learner.

    Lilybiri
    Legend
    March 29, 2018

    You talk about scored buttons? A possible workaround is to attach the score not to the buttons, but to a Submit button.  To help you more, would like to see the advanced action that you are using at this moment.

    Disabling the other buttons when one button is clicked seems to be not very user friendly, because you will prevent the learner to change his mind before clicking the Submit button.

    eLearning_Pundits
    Participating Frequently
    March 30, 2018

    Question was to find which button was pressed. Using the submit button for reporting, will ruin the flavor of capturing user's choice. Also capturing, which button was pressed make more sense than a submit button.

    if you really want to create a scenario where you want to give a choice, to the user if it was an intended selection or not then you could add more buttons and use them for reporting.

    Although, @Lilybiri, your solution is great if we only wanted to check that user visited the slide and clicked on one of the given choices on the slide.

    Lilybiri
    Legend
    March 30, 2018

    Not totally true, separating the user click from the score would be the only way for a custom question slide, because with the approach described here, the scores of all the button would be included in the maximum score. Long time ago I described such a workflow for custom questions (can also now more easily be done with JS, or with CpExtra widget, because much better functional in HTML output).

    I was pointing to that possibility in this case thinking of the user experience. A Submit button (which I read is available on the slide) means normally that the user can change his mind multiple times until he clicks Submit. By disabling or hiding the other buttons when the first one is clicked that normal behavior is prevented.

    The problem is Prime, that doesn't capture the values of variables. I trust that the OP has verified that with the Prime community. That means however that several learning interactions cannot be used, like the Radiobuttons interaction which could have been an alternative in this case. I don't know if the Liker question has been tested, or a MCQ set up as Survey? The goal of having a score attached is here only to get reporting. You can correct me, but I suppose this course has no real quiz slides, and the total quiz score has no meaning at all? If that supposition is confirmed, I wonder why you don't use a regular, graded MCQ slide with one answer? Of course, you will have to indicate a correct answer, but normally wrong answers are reported to the LMS as well. Just an alternative idea, if setting it up as a Survey question or using Likert question is not reported to Prime?

    eLearning_Pundits
    Participating Frequently
    March 29, 2018

    Is there a possibility to hide rest of the SS once you click any button?