anchor.diff:          function isCorrectInput() {
               var isDataCorrect = true;
               isDataCorrect = isCorrectStartDay();
  -            if(!isDataCorrect) { return isDataCorrect; }
  +            if(!isDataCorrect) {
  +                return ;
  +            }
               isDataCorrect = isCorrectDuration();
  -            if(!isDataCorrect) { return isDataCorrect; }
  -            return isCorrectRepetitions();
  +            if(!isDataCorrect) { return ; }
  +            isDataCorrect= isCorrectRepetitions();
  +             submitForm(isDataCorrect)
  +
           }
   
           Element.observe(window, "load", function() {
  
positive.code: <laf:box title="${commons:capitalize(verb)} Period">
      <laf:division>
          <%--<h2>${commons:capitalize(verb)} Period</h2>--%>
          <form:form method="post" id="period-form">
              <h5 id="periodError"></h5>
              <div class="row odd">
                  <div class="label">
  
negative.code:                 resetElement("periodError",
                                    "ERROR: Please select one period.", "black");
              }
                submitForm(isDataCorrect)
          }
          function submitForm(isDataCorrect){
              var periodForm = $('period-form');
              if (isDataCorrect) {
                  periodForm.submit();
              }
          }
          Event.observe(window, "load", currentTemplateSelected)
          Event.observe(window, "load", createAutocompleter)
  