anchor.diff:  
           function isCorrectOcurringInput() {
               var date = document.getElementById("holidayDate").value
  +            date = trim(date);
               var description = document.getElementById("holidayDescription").value;
               var isDataCorrect = true;
               if (isDataCorrect && (date.length < 3 || date.length >5)) {
  
positive.code:                             <td>
                                  <h5>Month:</h5>
                                  <select name="month" size="7">
                                      <option value="0">January</option>
                                      <option value="1">February</option>
                                      <option value="2">March</option>
                                      <option value="3">April</option>
  
negative.code: 
          function isCorrectNonOccuringInput(){
              var date = document.getElementById("nonOcurringDate").value
              date = trim(date);
              var description = document.getElementById("nonOcurringDescription").value
              var isDataCorrect = true;
              if (isDataCorrect &&(date.length < 8 || date.length > 10)) {
  