anchor.diff: +<%@ page import="org.owasp.encoder.Encode" %>
   <!--
   ~ Copyright (c) 2005-2013, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
   ~
  
positive.code:             <fmt:message key='title.service.providers.add'/>
          </h2>
          <div id="workArea">
              <form id="idp-mgt-edit-form" name="add-service-provider-form" method="post" action="add-service-provider-finish.jsp" enctype="multipart/form-data" >
              <div class="sectionSeperator togglebleTitle"><fmt:message key='title.config.app.basic.config'/></div>
              <div class="sectionSub">
                  <table class="carbonFormTable">
  
negative.code: <jsp:include page="../dialog/display_messages.jsp" />
  
  <script type="text/javascript">
      function createAppOnclick() {
          var spName = document.getElementById("spName");
          if (spName.value == '') {
              CARBON.showWarningDialog('Please provide Service Provider ID');
              location.href = '#';
          } else if (!validateTextForIllegal(spName)) {
              return false;
          } else {
              $("#add-sp-form").submit();
              return true;
          }
      }
  
  function validateTextForIllegal(fld) {
      var isValid = doValidateInput(fld, "Provided Service Provider name is invalid.");
  