Skip to main content
aytug
Known Participant
August 2, 2018
Answered

what am i doing wrong?

  • August 2, 2018
  • 3 replies
  • 1397 views

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.

    This topic has been closed for replies.
    Correct answer Lilybiri

    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.

    3 replies

    aytug
    aytugAuthor
    Known Participant
    August 2, 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.

    Dirlo
    Inspiring
    August 2, 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 !...

    ...

    Dirlo
    Inspiring
    August 2, 2018

    ...

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

    ...

    Lilybiri
    Brainiac
    August 2, 2018

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

    aytug
    aytugAuthor
    Known Participant
    August 2, 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.

    Lilybiri
    LilybiriCorrect answer
    Brainiac
    August 2, 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.