Home > assessments, Authoring-tools, e-learning, sourcecode > How to get rid of “Questions completed” feedback in Hot Potatoes quizzes

How to get rid of “Questions completed” feedback in Hot Potatoes quizzes

  1. If you dig into the JavaScript in the HTML, looking for the default feedback t4ext (“Questions completed so far”), you see (as I have done here manually; this could be relatively easily done also for an entire batch of course quizzes with a global replacement) that you turn this option off:
    1. var CompletedSoFar = ‘Questions completed so far: ‘;
    2. var ShowCompletedSoFar = false;
  2. But that does not get rid of the #/# being displayed.
  3. There is an option to get rid of the Feedback text: image
  4. If I read the options correctly, there is no such setting (we tried the obvious suspects here): image
  5. function CheckQuestionsCompleted(){
        // trp: trying to disable showing to student QuestionsCompleted 
    // (entire function  even if somebody changes the variable ShowCompletedSoFar) 
        // if i understand correctly, what users really do not want to show 
    // is a misleading completed correctly for completed 
    // (which leads to students not know that they have finished?) - \
    // is there no better way? 
        // was: if (ShowCompletedSoFar == false )){return '';} 
    // trp: cannot find a gui to set ShowCompletedSoFar  to false
        var QsCompleted = 0;
        for (var QNum=0; QNum<State.length; QNum++){         if (State[QNum] != null){             if (State[QNum][0] &gt;= 0){
                    QsCompleted++;
                }
            }
        }
    //Fixes for 6.2.2.2
        if (QsCompleted >= QArray.length){
            return ExerciseCompleted;
        }
        else{
            return ''; // trp: CompletedSoFar + ' ' + QsCompleted + '/' + QArray.length + '.';
        }
    }
    
  6. Since you can edit the sourcefiles of a HotPotatoes installation, you can turn it also off for a machine permanently:
  7. If this variable is there in the underlying code, shouldn’t there be also an option in the GUI (not necessarily, maybe was never implemented – or maybe I just have not found it…).
  8. For what the output will look like, see here.
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: