anchor.diff:            <h:outputText value="#{msg.question_text}" />
           </h:panelGroup>
           <h:panelGroup>
  -          <h:selectBooleanCheckbox value="#{assessmentSettings.showQuestionLevelFeedback}" id="feedbackCheckbox2" />
  +          <h:selectBooleanCheckbox value="#{assessmentSettings.showQuestionLevelFeedback}" id="feedbackCheckbox2"
  +            disabled="#{assessmentSettings.feedbackDelivery==3}" />
             <h:outputText value="#{msg.question_level_feedback}" />
           </h:panelGroup>
           <h:panelGroup>
  -          <h:selectBooleanCheckbox value="#{assessmentSettings.showStudentResponse}" id="feedbackCheckbox3" />
  +          <h:selectBooleanCheckbox value="#{assessmentSettings.showStudentResponse}" id="feedbackCheckbox3"
  +            disabled="#{assessmentSettings.feedbackDelivery==3}" />
             <h:outputText value="#{msg.student_response}" />
           </h:panelGroup>
           <h:panelGroup>
  -          <h:selectBooleanCheckbox value="#{assessmentSettings.showSelectionLevelFeedback}" id="feedbackCheckbox4" />
  +          <h:selectBooleanCheckbox value="#{assessmentSettings.showSelectionLevelFeedback}" id="feedbackCheckbox4"
  +            disabled="#{assessmentSettings.feedbackDelivery==3}" />
             <h:outputText value="#{msg.selection_level_feedback}" />
           </h:panelGroup>
           <h:panelGroup>
  -          <h:selectBooleanCheckbox value="#{assessmentSettings.showCorrectResponse}" id="feedbackCheckbox5" />
  +          <h:selectBooleanCheckbox value="#{assessmentSettings.showCorrectResponse}" id="feedbackCheckbox5"
  +            disabled="#{assessmentSettings.feedbackDelivery==3}" />
             <h:outputText value="#{msg.correct_response}" />
           </h:panelGroup>
           <h:panelGroup>
  -          <h:selectBooleanCheckbox value="#{assessmentSettings.showStudentScore}" id="feedbackCheckbox6" />
  +          <h:selectBooleanCheckbox value="#{assessmentSettings.showStudentScore}" id="feedbackCheckbox6"
  +            disabled="#{assessmentSettings.feedbackDelivery==3}" />
             <h:outputText value="#{msg.student_score}" />
           </h:panelGroup>
           <h:panelGroup>
  -          <h:selectBooleanCheckbox value="#{assessmentSettings.showGraderComments}" id="feedbackCheckbox7" />
  +          <h:selectBooleanCheckbox value="#{assessmentSettings.showGraderComments}" id="feedbackCheckbox7"
  +            disabled="#{assessmentSettings.feedbackDelivery==3}" />
             <h:outputText value="#{msg.grader_comments}" />
           </h:panelGroup>
   
  
positive.code: var noFeedback = "3";
  
  // If we select "No Feedback will be displayed to the student"
  // it will disable feedback, otherwise leave it alone.
  function disableAllFeedbackCheck(feedbackType)
  {
    if (feedbackType != noFeedback) return;
  
    var feedbacks = document.getElementsByTagName('INPUT');
    for (i=0; i<feedbacks.length; i++)
    {
      if (feedbacks[i].name.indexOf(feedbackIdFlag)==0)
      {
        // type is referenced as a lowercase value
        if (feedbacks[i].type == 'checkbox')
        {
          feedbacks[i].checked = false;
        }
        else if (feedbacks[i].type == 'text')
        {
          feedbacks[i].value = "";
        }
      }
    }
  
negative.code:     document.getElementById(autoSubmitId).disabled=false;
  
  }
  
  //-->
  </script>
  
  