Skip to main content
aytug
Known Participant
Aug 1, 2018 3:02 PM UTC
Answered

creating a custom fill-in-the-blank question

Lol I know I've asked a lot of questions today but I think this one's the last. Now upon Lilly's advice, I tried to create a custom question. First of all I created a blank text entry box and assigned it to quesOne variable. I made quesOne variable empty. Then I created another variable named scoreNow to keep the current score and then I made a submit button from custom shapes and I entered this advanced action in it.

https://ibb.co/czAxOz

What I wanted to test was "if the user enters "you" in that text area, it will assign the empty variable scoreNow with 3 plus total points in the test. Then after adding that 3 points for this question it will assign that value to system variable cpQuizInfoPointsscored. Yet somehow it didn't work.

Where did I make a mistake?

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Lilybiri
    LilybiriCorrect answer
    Legend
    Aug 1, 2018 5:23 PM UTC

    So what will be my advanced action?

    If

    QuesOne is equal to "you"

    Action

    Continue?


    If you need only one Blank, no need for an advanced action at all. Just do what I described.

    I have some blog posts where I use the Scrolling Text interaction instead of a TEB. In that situation you need an advanced or shared action.

    9 replies

    aytug
    aytugAuthor
    Known Participant
    Aug 1, 2018 5:02 PM UTC

    Oh my mistake. I forgot to make the submit button to include the question in the Quiz. Now it seems to be working

    Translate
    Lilybiri
    Legend
    Aug 1, 2018 5:12 PM UTC

    You only had to validate the TEB, indicate the correct answer. Then check the option 'Reporting' on the Properties panel for the TEB, and give it a score.

    Translate
    aytug
    aytugAuthor
    Known Participant
    Aug 1, 2018 5:19 PM UTC

    So what will be my advanced action?

    If

    QuesOne is equal to "you"

    Action

    Continue?

    Translate