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

creating a custom fill-in-the-blank question

  • August 1, 2018
  • 1 reply
  • 776 views

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 has been closed for replies.
    Correct answer Lilybiri

    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.

    1 reply

    aytug
    aytugAuthor
    Known Participant
    August 1, 2018

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

    Lilybiri
    Brainiac
    August 1, 2018

    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.

    aytug
    aytugAuthor
    Known Participant
    August 1, 2018

    So what will be my advanced action?

    If

    QuesOne is equal to "you"

    Action

    Continue?