anchor.diff:      var reqPathAuth = 0;
       var localAuthNumber = 0;
   
  -    function createAppOnclick() {
  -
  -        document.getElementById("configure-auth-flow-form").submit();
  -    }
  -
       jQuery(document).ready(function () {
  +
  +        $("#createApp").click(function(){
  +            showAllErrors();
  +		});
   
           var addTemplate = $("#addTemplate");
           var myCodeMirror = CodeMirror.fromTextArea(scriptTextArea, {
  
positive.code:             showCursorWhenSelecting: true,
              styleActiveLine: true,
          });
  
          $(".CodeMirror").append('<div id="toggleEditorSize" class="maximizeIcon" title="Toggle Full Screen"></div>');
  
  
negative.code: 				</div>
  				<div style="clear:both"></div>
                  <div class="buttonRow" style=" margin-top: 10px;">
                      <input id="createApp" type="button" value="<fmt:message key='button.update.service.provider'/>" />
                      <input type="button" value="<fmt:message key='button.cancel'/>"
                             onclick="javascript:location.href='configure-service-provider.jsp?display=auth_config&spName=<%=Encode.forUriComponent(spName)%>'"/>
                  </div>
              </form>
          </div>
  </fmt:bundle>
  