Skip to main content
aytug
Known Participant
Aug 2, 2018 1:09 PM UTC
Answered

what am i doing wrong?

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 is closed to new replies. Start a new post to keep the conversation going.
    Lilybiri
    LilybiriCorrect answer
    Legend
    Aug 2, 2018 1:25 PM UTC

    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.

    24 replies

    aytug
    aytugAuthor
    Known Participant
    Aug 2, 2018 1:45 PM UTC

    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
    Dirlo
    Inspiring
    Aug 2, 2018 1:18 PM UTC

    ...

    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
    Dirlo
    Inspiring
    Aug 2, 2018 1:23 PM UTC

    ...

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

    ...

    Translate
    Lilybiri
    Legend
    Aug 2, 2018 1:13 PM UTC

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

    Translate
    aytug
    aytugAuthor
    Known Participant
    Aug 2, 2018 1:17 PM UTC

    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
    aytug
    aytugAuthor
    Known Participant
    Aug 2, 2018 1:23 PM UTC

    Here's the screenshots:

    https://ibb.co/cwfTWK

    https://ibb.co/gf4u5e

    Translate