Copy link to clipboard
Copied
Hey, I am trying to create a custom fill-in-the-blank question with multiple blanks. To test things out, I started with two TEBs. First of all, I created two variable to keep the points per blank (v_points) and the score in total (v_scoreNow). I gave both of them 0 value. After creating those two TEBs (Text_Entry_Box_2 and 3, I didn't bother to rename them for now), I entered "correct one" to validate user input for the first blank, and "correct" for the second blank just to test things out. I made a submit button and entered this advanced action in there with 3 decisions:
But it doesn't work somehow.
You don't use a validation in that case, just the action to check. I asked about the confirmation because a validatet TEB is only checked when the entry is confirmed by the Submit button (which you probably do not use) or the assigned shortcut.
What do you want to do with the score? If the TEB was validated, it was possible to add a score to the TEB (Reporting part) and on Success with the validation that score would automatically be added to the total score which is stored in the read-only syste
...Copy link to clipboard
Copied
Do you validate the TEB's? If yes, how is the entry confirmed?
Copy link to clipboard
Copied
Yeah, I validate both of them, first of them with "correct one", the second one with "correct". And it doesn't even allow me to type in the second box, as soon as I type in one of these boxes the slide continues.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Le Dirlo, it automatically put those apostrophes because the first one contains more than one word I think. I tried to do it on the next slide, I mean I printed the quiz points on the next slide but it showed zero. So there's something wrong with the action.
Copy link to clipboard
Copied
You don't use a validation in that case, just the action to check. I asked about the confirmation because a validatet TEB is only checked when the entry is confirmed by the Submit button (which you probably do not use) or the assigned shortcut.
What do you want to do with the score? If the TEB was validated, it was possible to add a score to the TEB (Reporting part) and on Success with the validation that score would automatically be added to the total score which is stored in the read-only system variable cpQuizInfoPointsscored.
Copy link to clipboard
Copied
But how do I validate two TEBs? I deleted the submit buttons that came with them. Should I have kept them? But there would've been two buttons.
Copy link to clipboard
Copied
and I am already validating them. aren't I?
Copy link to clipboard
Copied
Back to Basics. When will 'Get Started' tutorials be really useful? Sorry for that bitter note.
A Text Entry Box can be used in two ways:
To be able to have this action functional, the learner needs to confirm the entry, either by a Submit button or by a shortcut key (which you can change). I described a tweak many years ago if you can impose the sequence.
Copy link to clipboard
Copied
...
Hello !...
Take care with the use of the "... " (You put some in the 1st action and none in the second)
Try to put a text field with the variable on your screen : $$v_scoreNow$$ so you will see if it increments as you want !...
And you don't tell us exactly what's not working !!...
Have good time with Cpt !...
...
Copy link to clipboard
Copied
...
And you have "Text_Entry_Box _2" in both the actions !..
...
Copy link to clipboard
Copied
Je m'excuse, mais il n'y a pas de problèmes de parenthèses. Ils sont automatiquement ajoutés par Captivate si le 'literal' a plus d'un mot.
In English:
Do not bother about the quote marks: they are added automatically by Captivate when you have two or more words, they are not needed for one word. It is about the way variables are treated by Captivate, will not elaborate about it.
Copy link to clipboard
Copied
...
Sorry !... Don't know that...
So it may come with the "Text_Entry_Box_ 2" in both of the actions ? (instead of "Text_Entry_Box_ 1" in the first one)
...
Copy link to clipboard
Copied
...
In fact on your last screenshots they are "T_E_B_2" and "T_E_B_3" !!...
...
Copy link to clipboard
Copied
Oops, you're right there Le Dirlo. I'm correcting it now but I know it won't correct what's wrong with my advanced action.
Copy link to clipboard
Copied
...
Try to put the both in the same one :
If (All conditions are true)
TEB2 = Correct Answer
TEB3 = Correct
Then
Increment v_points by 2
And put a text field with the variable on the slide : $$v_points$$
?...
...
Copy link to clipboard
Copied
But I would like to give them different points.
Copy link to clipboard
Copied
Lily, I deleted the submit buttons of those TEBs, I should assign a shortcut to them then?
Copy link to clipboard
Copied
I tried with shortcut, it now calculates the score (Thank you Lily) but the thing is it still continues to the next slide as soon as I want to type in the other box. It won't wait for me.
Copy link to clipboard
Copied
Another Basic: try to understand the Timeline (tons about it on my blog).
Which actions do you have for the TEB's for both Success and Last Attempt event?
Copy link to clipboard
Copied
OK, thank you Lily After allowing infinite attempts on the submit button now it works
Copy link to clipboard
Copied
...
Check the action for TEB_2
(we don't see it on your Screenshot - img6)
And put the On succes to No Action (Instead of Continue I suppose ?)
...
Copy link to clipboard
Copied
Thank you too Le Dirlo. I think I've done it now Thanks for your help guys.
Copy link to clipboard
Copied
...
You are welcome !...
(You will find the help of Lily 24/24 here !... )
Have fun with Captivate !...
...
Copy link to clipboard
Copied
Yep, as soon as I type in the second box (it doesn't matter which one) the slide continues. And it won't count my points.