Copy link to clipboard
Copied
I have created my own Likert question, by adding text and then creating my own radio buttons.
There are 8 questions on a page, that have a 4 different options on a rating scale.
For each question, 2 of the options both have a score of 1 attached to them and the other two 0 score. So depending on their answer to each question, the score would either be 1 or 0.
However I don't want it to keep incrementing, if they click on the button multiple times or if they change their mind and select another button that has a score attached it. Also if tehy select one of teh buttons that have a score attached to it and then change their mind to one that doesn't, i don't want the score to increment by 1, I would want it to show as zero.
So basically what ever they select as their last answer should be their score.
I have managed to do part of this via advanced actions.
I have it setup that if you click a buton with a score attached to it, it increments by 1 and the button is then disabled so that you can't keep clicking the button and incrementing the score each time.
However I can't figure out how to allow the user to select another button, without the score incrementing by 1 if they click on the other button that has a score or how to reduce the score by 1, if they then change their mind and select one of the other buttons that have a zero score.
The only thing I can do is disable all other buttons, when they select a button, however this means they only get one attempt at each question.
Does anyone have any ideas on how to resolve this?
Copy link to clipboard
Copied
Did you use a single radio button interaction for each of the responses?
Radio buttons work much better when they are used in a group.
Evaluate the response for each and assign a value of 0 or 1 in your advanced action.
So if the variable for group 1 is rb_1, you would evaluate if rb_1 is equal to "not likely" assign answer1 with 0.
If rb_1 is equal to "likely, assign answer1 with 1 and so on.
You can also set up a group with the values of 0,0,1,1 and make the text the same color as the background so the user doesn't see them and rb_1 will automatically get assigned a value of 0 or 1. You can use the text size to space the radio buttons.
Copy link to clipboard
Copied
Try to set up in the same way as a normal question slide: once they click the Submit button, which will have the score attached to it, they cannot change the answer anymore. Instead of attaching to score to the individual buttons, you can store their choice in user variables. Once they decide to submit the answers, you'll have two possibilities:
With your present setup you already have the issue that even if they choose a correct answer, they got only one point out of two, because all scores are summarized in the total score. To avoid that, look at the approach I explained in this blog post:
Report Custom Questions - part 2 - Captivate blog
The idea is that you have two hidden buttons Next. One has a score of 1 point, the other has no score. To the Submit button you attach a conditional action that will check the answer, if it is correct you show the Next button with a score, if it is incorrect you show the one with out a score. They will look alike to the the user but the reported score will be correct. At the same time you can disable the other buttons.
Copy link to clipboard
Copied
I can see where you are going with this, but I am not sure if it is quite right or whether I am just not fully understanding.
I don't want them to get 2 points per question, I just want them to select one answer per question and if they select either "Often" or "Always" they get 1 point and if they select "Never" or "Seldom" they would get no points.
So my "slide" is setup like this below:
Never Seldom Often Always
Question 1 x
Question 2 x
Question 3 x
Question 4 x
etc etc
I only want them to submit one answer for each question (no more), but if they select "Often" or "Always" they would get a score of 1, if they select "Never" or "Seldom" they would get a score of 0. So in the example above, out of 4 they would get 2 points, as they selected "Often" once for Q2 and "Always" once in Q4.
So if there are 8 questions on the page, the maximum score they could get would be 8.
As suggested, if I could get it to work so that the answers are only submitted after they leave the page that would be ideal. As I will have 4 pages setup like this and I want to calculate the total after all pages have been completed.
At the moment, as mentioned before I have it so if you click on one of the radio buttons (Often or Always) it increments by 1 and disables the other buttons on that row or if you click on the other buttons (Never or Seldom), it doesn't increment and also disables the other buttons on that row.
But this only provides one opportunity for the partcipant to enter answers and doesn't allow them to change their mind once they submit their answers.
So could it be setup so that if they click on a Submit button, it would recognise which buttons have been selected and add up the appropriate score and increment the overall total and keep doing this over multiple pages?
I should also say that I am using image buttons to look like radio buttons.
Copy link to clipboard
Copied
I would have used the radiobuttons interactions, but that is off topic.
Maybe it is a misunderstanding, but when you talk about 'score', do you mean a real score attached to the buttons, that will lead to a total score at the end, stored in the quizzing system variable cpQuizInfoPointtsscored? Or do you simply want to populate a user variable with a total score? I was warning you about the first scenario, because if you have two buttons with each 1 point score, both will be counted for the Maximum score of the quiz. That is why I invented that workaround with two Next buttons, as described in the blog post. But with all the combinations that you now talk about, this will not work.
If it is only to be stored in a user variable, I could explain a work flow.
Copy link to clipboard
Copied
Yes I guess it would be a real score attached to the buttons.
As basically at the end of the quiz, I actually just want it to say one of two statements.
If you score 16 points or more it would say "Statement 1"
If you score less than 16 it would say "Statement 2"
In both cases though the score would not be shown to the user, only the relevant statement.
Over the 4 pages there would be 25 questions in total, so a max score of 25 is available.
Copy link to clipboard
Copied
Real score in quizzing system variables? You will need to find a JS programmer in that case, sorry, cannot help you. You seem to underestimate the way Captivate scoring is working, tried to explain but maybe not very well.
You cannot change the content of quizzing system variables: once they click on a button, that score will be added to the total score, no way to get back. This means: disabling the button once it is clicked, only way to prevent a double click and double score. You cannot let the playhead continue into the inactive part, since they should still be able to answer the other questions. Since you have more than one scored object on each slide, you cannot use the Submit button to have the score transferred.