there are also a few discussions about this problem, but i think they will not cover my problem in total.
What i want to do:
I have 12 text input boxes on one slide i want, that with one button, all boxes are validated. So there should be a feedback icon for each input box. Also the answers should be forwarded to the quiz score.
Validating if the question is right or wrong and fade in the right feedback can be easy archieved through advanced actions. But how can i forward the answers to the quiz score slide with only one button?
Bit confusing question.
If the TEB's are validated, the score is automatically attributed to the system quizzing variables which are transferred to the LMS. If you talk about the entered text, it is stored in the associated user variables. Whether they appear in the LMS depends on the LMS functionality.
The threads you may have seen (or some of my blogs posts) were created to have one submit button for a bunch on non-validated TEB's.
Yeah if seen your threads. So basically i want to have the same functionality but with TEB validation. Is this even possible?
I've done something which I think could help you ?
For this purpose I use as many variables as answers...
The validate button validates all the answers... But I also put smartshapes to validate each answer separately (you need one global conditional action and as many others conditional for each of the answers...)...
But there are also not valited as quiz in Captivated? Or am I wrong?
You'll have to create your own quiz... And maybe make a correspondence between your own variables and the Captivate's ones ?
(Don't know if it's possible ??...)
Yes thats the problem! I need to combine the variables, because i also use the standard quiz slides in the project.
Also don't know if this is possible.
Anyway, this worked for me before:
1. Put an invisible button on your page (somewhere a user won't accidentally click) and give it a name, such as myButton1
2. Set that button as scored and give it some points
cp.SubmitInteractions("myButton1", cp.QuestionStatusEnum.CORRECT, 0);
This line clicks myButton1 and should update cpQuizInfoPointsscored with the points you gave to myButton1
Thanks so much, that should work. But one more question, if have more than one TEB do i need to change anything in the JS to let the points count up. Atm the result slide always says 1 question right of 1.
If your transparent buttons are reporting scores, then Captivate should be totalling points by itself. If you want to add scores together in JS you'll need to do that explicitly with something like
var totalScore = score1 + score2 + score3 .....;
Or, you can add to an existing totalScore by (for example)
totalScore = totalScore + score4;
You can also create a custom results slide, for which there are quite a few existing posts in the forum and on LIlybiri's blogs.
I really don't understand why the scoring functionality of the TEB's itself is not used. Seems too complicated without any reason.
I think the sticking point here is that the OP wants all of the TEBs to be validated my clicking a single submit button.
If you turn on Validation for a TEB each one will need to be validated separately by its own button. You can use Auto-Submit, but only if you set the character length of the correct answer, which is not usually all that useful.
Without Validation turned on, the TEB doesn't really become a true interactive object that can be given a score to report to the quiz.
As well, the score assigned to a TEB does not get added into a CP quiz if its own submit button is not clicked. Therefore the need for a transparent button triggered by JS to get a score into the CP quiz total. If one is happy creating a total score that is displayed on a custom results slide, but is not part of the official CP quiz, then there is no need for the extra transparent buttons and JS. If only the quiz variables were not read-only this would indeed be easier.
First answer told they were validated.
Got it now, thanks so much to you all.
I know it could be done easier with the default scoring functionality of the TEB's, but i had the condition of having one submit button only for all TEB's.
I see a lot of other users entering this thread, so will leave you to them because most of what they write would nevet be what I would answer. It is already too confusing at this momen. If the TEB is validated there is no problem with the score at all, don't understand why one of my worfklows with an extra button has been mentioned here.
One more question, it all now works great but my "Go to next slide" Button won't work. i've defined them on my masterslide as smartform. On other slides all works as it should.