Java scrip trigger for free text answer

Apr 30, 2019

Hi all,

 

I know that this platform does not necessarily answer the JS related questions but looking at the previous discussion around this topic, I hope that someone might be able to help :)

We have been using the JS triggers to capture the learner clicking on right/wring answer in the knowledge check questions and also to validate the training quality. I have been trying to figure our how to capture written comments i.e. feedback at the end of the training using the same means.

For the above scenario of knowledge check question we would use for example:

logAction({
verbname : "answered",
activityname : "Q1",
success : true,
response : "A"
});

That means that if you click in the question Q1 on the response A (in shape of a rectangle), this is a correct answer to the success is true.

I was wondering if we have here anyone who could imagine:

1/writing/adjusting the trigger to capture a free text written in Storyline into a shape

2/how to set up a Storyline object to allow the learner to write free text in it?

 

Any thoughts? I will be grateful for any tips.

 

Best

Veronika

1 Reply

This discussion is closed. You can start a new discussion or contact Articulate Support.