anchor.diff:                  }
                   location.href = redirectTo;
               }
  -        }
  +            else {
  +                // disable input fields when a questionSetId is not selected.
  +                disableInputEdit(true);
  +            }
  +        }
  +
  +        function disableInputEdit(disabled) {
  +            var status = (disabled == true);
  +
  +            document.getElementsByName("question0")[0].disabled = status;
  +            document.getElementsByName("questionId0")[0].disabled = status;
  +            document.getElementsByName("questionLocale0")[0].disabled = status;
  +            document.getElementsByName("localeMapping")[0].disabled = status;
  +            document.getElementsByName("localeMapping")[1].disabled = status;
  +            document.getElementById("addButton").disabled = status;
  +        }
  +
  +
  +        $(document).ready(function(){
  +            var index = document.getElementById("setName0").selectedIndex;
  +            var disabled = (index == 0);
  +            if(disabled) {
  +                setLocaleMappingCheckBox("no");
  +            }
  +            disableInputEdit(disabled)
  +        });
  +
   
           function getQuestionIDs() {
               var questionSetIndex = document.getElementById("setName0").selectedIndex;
  
positive.code:             }
          }
  
  
          function onChangeSelect() {
              var index = document.getElementById("setName0").selectedIndex;
              var setName = document.getElementsByName("setName0")[0].value;
  
negative.code:                                 </tr>
                                  <tr>
                                      <td>
                                          <button id="addButton" onclick="addRow()" type="button"
                                                  class="button">Add
                                          </button>
                                      </td>
                                  </tr>
                              </table>
  