Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

what am i doing wrong?

Explorer ,
Aug 02, 2018 Aug 02, 2018

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.

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

correct answers 1 Correct answer

Community Expert , Aug 02, 2018 Aug 02, 2018

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

...
Translate
Community Expert ,
Aug 02, 2018 Aug 02, 2018

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

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

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.

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

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 02, 2018 Aug 02, 2018

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.

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

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.

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

https://ibb.co/nL1Dyz

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 02, 2018 Aug 02, 2018

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 02, 2018 Aug 02, 2018

...

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

...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 02, 2018 Aug 02, 2018

...

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

...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 02, 2018 Aug 02, 2018

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 02, 2018 Aug 02, 2018

...

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)

...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 02, 2018 Aug 02, 2018

...

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

...

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

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 02, 2018 Aug 02, 2018

...

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

?...

...

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

But I would like to give them different points.

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

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

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

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 02, 2018 Aug 02, 2018

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?

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

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 02, 2018 Aug 02, 2018

...

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

...

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

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 02, 2018 Aug 02, 2018
LATEST

...

You are welcome !...

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

Have fun with Captivate !...

...

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

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources