Highlighted

what am i doing wrong?

Explorer ,
Aug 02, 2018

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:

https://ibb.co/i2Kadz

https://ibb.co/cpwGke

https://ibb.co/kScvdz

But it doesn't work somehow.

Most Valuable Participant
Correct answer by Lilybiri | Most Valuable Participant

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.

Views

274

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

what am i doing wrong?

Explorer ,
Aug 02, 2018

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:

https://ibb.co/i2Kadz

https://ibb.co/cpwGke

https://ibb.co/kScvdz

But it doesn't work somehow.

Most Valuable Participant
Correct answer by Lilybiri | Most Valuable Participant

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.

Views

275

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Most Valuable Participant ,
Aug 02, 2018

Copy link to clipboard

Copied

Do you validate the TEB's? If yes, how is the entry confirmed?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Aug 02, 2018

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Aug 02, 2018

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Most Valuable Participant ,
Aug 02, 2018

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Aug 02, 2018

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Aug 02, 2018

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Aug 02, 2018

Copy link to clipboard

Copied

https://ibb.co/nL1Dyz

and I am already validating them. aren't I?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Most Valuable Participant ,
Aug 02, 2018

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:

  1. Not validated = when the option 'Validate User Input' in the Style tab is NOT checked which is default. In that case you cannot score the Text Entry Box, the Reporting options are greyed out in the PI.
  2. Validated = when the option 'Validate User Input' in the Style tab is checked. In that situation you can add several possible correct entries.  You can select 'Reporting' and add a score to the TEB. When you look in the Advanced Interaction panel, you'll see that score appear along with the scores of the question slides and eventually of other scored objects like buttons. The TEB score can be added to the Total score.

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Participant ,
Aug 02, 2018

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 !...

...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Participant ,
Aug 02, 2018

Copy link to clipboard

Copied

...

And you have "Text_Entry_Box _2" in both the actions !..

...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Most Valuable Participant ,
Aug 02, 2018

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Participant ,
Aug 02, 2018

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)

...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Participant ,
Aug 02, 2018

Copy link to clipboard

Copied

...

In fact on your last screenshots they are "T_E_B_2" and "T_E_B_3" !!...

...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Aug 02, 2018

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Participant ,
Aug 02, 2018

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$$

?...

...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Aug 02, 2018

Copy link to clipboard

Copied

But I would like to give them different points.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Aug 02, 2018

Copy link to clipboard

Copied

Lily, I deleted the submit buttons of those TEBs, I should assign a shortcut to them then?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Aug 02, 2018

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Most Valuable Participant ,
Aug 02, 2018

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?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Participant ,
Aug 02, 2018

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 ?)

...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Aug 02, 2018

Copy link to clipboard

Copied

OK, thank you Lily After allowing infinite attempts on the submit button now it works

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Aug 02, 2018

Copy link to clipboard

Copied

Thank you too Le Dirlo. I think I've done it now Thanks for your help guys.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Participant ,
Aug 02, 2018

Copy link to clipboard

Copied

...

You are welcome !...

(You will find the help of Lily 24/24 here !... )

Have fun with Captivate !...

...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Explorer ,
Aug 02, 2018

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Resources
Captivate User Guide
New Group