Fill in the Blanks | Course Presentation

benjaminwhite's picture

If I add a slide to a course presentation, then add a "Fill in the Blanks" question, how does the user progress to the next slide upon entering the correct answer, or back to a particular slide if incorrect? I've built the presentation exactly like your example "Tip of the Week: Gamify your Course Presentations", found at https://h5p.org/presentation#example=57130 , which uses Activate Active Surface Mode.

If I use "Go to Slide", the user could simply move on regardless if they entered the correct answer.

Content types: 
BV52's picture

Hi Benjamin,

There is no feature in Course Presentation that will let you go to a specific slide depending on your answers. The "How Familiar are you with France" activity uses a combination of Images and Go to Slide on top of it. If you click on the correct answer it is set to go to the next slide. On the other hand if you click on an incorrect answer  it goes to slide 2 (if I'm not mistaken) which only has one option to click on which is to go to the 1st slide and start all over again.

-BV52

benjaminwhite's picture

I'm not familiar with javascript, but surely we could use the result of check to fire off another function?

function check() {
    //validation code
    return true;
}

function x() {
    if (check()) {
        //check is true, execute this code
        alert('hello');
    }
}
otacke's picture

Hi Benjamin!

You can do that using the xAPI statements that H5P fires and you can listen to. The 'completed' statement holds e.g. the score and the maximum score possible.

Best,
Oliver

Hey Benjamin,

 

I'm having the same issue. I know this was posted 3 years ago, did it eventually work for you?

benjaminwhite's picture

Hi. I actually don't remember how I ended up solving this issue, but I've since given up on H5P. It's development moved too slowly for me.

There was a developer, Patrick Kellogg, found at https://elearningcomplete.com/plugins/ , that used to have an extension that addressed this issue but it seems he's given up as well.

I could be mistaken, but I think @otacke, who replied above, does freelance work and may be able to help. You can find him at https://twitter.com/otacke or https://www.olivertacke.de .

Sorry that I couldn't be more help. I wish you the best of luck.