Explore the community Forums Lectora Lectora Questions & Answers Show correct feedback after max allowed attempts

Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #370844 Score: 0
    Profile photo of justspiffy
    justspiffy
    Member
    beginner
    intermediate
    wise owl
    curious george
    contributor
    @justspiffy

    I have set the quiz questions to have a max of 3 attempts to answer the quiz question correctly. If they answer 3 times incorrectly, I would like it to show the correct answer(have the correct bullet selected) and to show the correct feedback.

    How would I do this?

     

     

    #370903 Score: 0
    Profile photo of Jason Dalrymple
    Jason Dalrymple
    Member
    beginner
    intermediate
    profile
    wise owl
    curious george
    contributor
    20 pts
    @JasonADal

    You can do this with a combination of tracking the attempts with a variable and JavaScript.

    Depending on how you are processing the question changes the method. If you’re using a submit button, then you only need the actions on the button. If you use process immediately, then you have to put the actions on each radio button using OnSelectChange.

    The attached sample has it set up both ways. You need to make sure you update the JavaScript to target the radio button’s input id. Use the Radio value from the properties and add “id” to the end.

    #370907 Score: 0
    Profile photo of Jason Dalrymple
    Jason Dalrymple
    Member
    beginner
    intermediate
    profile
    wise owl
    curious george
    contributor
    20 pts
    @JasonADal

    I forgot to note in my previous post that you have to preview in browser to see the full functionality. I’m not sure why, but the feedback messages don’t pop-up when in Run mode.

    @jvalley4735 – On a side note, I’m not seeing the Edit option on my posts in IE or Firefox. 🙁

    #370911 Score: 0
    Profile photo of Jennifer Valley
    Jennifer Valley
    Moderator
    contributor
    beginner
    friend finder
    advanced
    lectora beginner
    verified member
    wise owl
    profile
    picture perfect
    curious george
    106 pts
    @jvalley4735

    @JasonADal Did you make the change within 15 minutes of posting?  If not the system automatically removes the option to mitigate the risk of confusing people who are posting on the thread.

    #370914 Score: 0
    Profile photo of Jason Dalrymple
    Jason Dalrymple
    Member
    beginner
    intermediate
    profile
    wise owl
    curious george
    contributor
    20 pts
    @JasonADal

    That would explain it – I posted, went to lunch and *poof* edit was gone. Thanks!

    #370931 Score: 0
    Profile photo of approg
    approg
    Member
    beginner
    intermediate
    curious george
    wise owl
    contributor
    friend finder
    picture perfect
    11 pts
    @approg

    In Lectora 17 the question creator dialog has an Attempts tab. Under it you can set the maximum number of attempts allowed and to enable feedback for maximum attempts. The feedback can be running an action group that does whatever you want it to do – easy!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.