Skip to main content
Known Participant
February 6, 2016
Answered

Is it possible to Save Answer in a Short Answer Knowledge Check Question?

  • February 6, 2016
  • 1 reply
  • 722 views

Hello

MAC Cp 9.0.0.230.

I'm using Knowledge Check Short Answer Questions. The student fills in their answer and clicks Submit, which takes them to the next slide showing the correct answer.

I want them to be able to click Back to review what they entered, but with KC questions the answer the entered is not saved. Is there a way (using advanced actions perhaps?) to SAVE the answer in the Short Answer input box?

Thanks

Veronica

This topic has been closed for replies.
Correct answer Lilybiri

Did you insert the variable using the X button in the Character part of the

Properties panel of the Text container? This should work seamlessly.


If you only want it to use after the question slide, as you show here, no need to store the value of cpQuizInfoAnswerChoice into a user variable. Just insert it on the slide after the question slide as you did on the screenshot instead of v_short1. I thought you wanted to 'save' this value as is mentioned in the Subject of this thread. Then you'll have to assign the value to a user variable, because that quizzing system variable cpQuizInfoAnswerChoice will be reused on the next question slide.

I once wrote an article about that system variable:

Secrets of cpQuizInfoAnswerChoice and.... - Captivate blog

1 reply

Lilybiri
Legend
February 6, 2016

The given answer, both for Knowledge Check and normal Question slides, is stored in the quizzing system variable cpQuizInfoAnswerChoice. This variable is reused on each question slide. This means that you'll have to transfer its value to a user variable before it is used by a new question slide. I will mostly use the On Enter action of the following slide to trigger an (advanced) action like this:

  Assign v_short1 with cpQuizInfoAnswerChoice

v_short1 is a defined user variable. You'll need another variable for each question slide where you want to store the answer.

When coming back to the slide, you'll need to use (again) the On Enter event to show the given answer. That will not be possible in the normal box where the user gave the answer. You'll have to add a text container in another location (not on the embedded objects, because those have priority and will always cover custom objects) with that user variable inserted.

FBSBLAuthor
Known Participant
February 6, 2016

Hi Lilybiri

Thanks for your reply. Variables confuse me, I've tried to follow what you said but it's not quite working yet.

I've created a variable v_short1 (what do I put in the value? I left it blank)

I've created an action called short1, Assign v_short1 with (variable) cpQuizInfoAnswerChoice

On the regular slide that follows the Short Answer slide, I have On Enter, Execute Advanced Actions (short1)

I have the correct answer, then I've made 2 text boxes, One which says "Your answer", the other with $$v_short1$$

Nothing is showing.

I tried putting cpQuizInfoAnswerChoice as the variable value, but then it just displays, cpQuizInfoAnswerChoice in the text caption box.

What am I doing wrong, please?

Veronica

Lilybiri
Legend
February 6, 2016

I am not at home, cannot show you screenshots. If my memory is OK you want

to see the correct answer when coming back to the slide?