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

creating a custom fill-in-the-blank question

Explorer ,
Aug 01, 2018 Aug 01, 2018

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?

832
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

LEGEND , Aug 01, 2018 Aug 01, 2018

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.

Translate
Explorer ,
Aug 01, 2018 Aug 01, 2018

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

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
LEGEND ,
Aug 01, 2018 Aug 01, 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.

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 01, 2018 Aug 01, 2018

So what will be my advanced action?

If

QuesOne is equal to "you"

Action

Continue?

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
LEGEND ,
Aug 01, 2018 Aug 01, 2018

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.

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 01, 2018 Aug 01, 2018

Lily, I don't know how to indicate the correct answer I mean where will I type it if not if clause?

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 01, 2018 Aug 01, 2018

Yay, I've found it I think. Trying it now.

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 01, 2018 Aug 01, 2018

It's working, thank you so much!

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
LEGEND ,
Aug 01, 2018 Aug 01, 2018

When you click on the word which you marked Blank, a HUD pops up where you can add correct answer(s) with the + button.

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 01, 2018 Aug 01, 2018
LATEST

Thank you so much, I did 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
Resources
Help resources