Update Registration Restricted Message

PHOTO EMBED

Sat Jan 08 2022 03:45:40 GMT+0000 (UTC)

Saved by @rebukt #javascript

jQuery(document).ready(function ($) {


  function changeHtml() {
    for (el of newHtml) {
      $(el.selector).html(el.changedTo);
    }
  }

  var newHtml = [
    {
      selector: "#signup_form h1.no_companies_allowed",
      changedTo: "REGISTRATION DENIED",
    },

    {
      selector: "#signup_form p.no_companies_allowed",
      changedTo:
        'Sorry, registration is restricted to pre-approved company domains. <a href="https://integrationtesting.allbound.com/"> Please try again</a>  with your company email.<p><br>If you are not currently a partner, please click <a href="https://www.allbound.com/partners/">here</a> to request more information.',
    },
  ];

  changeHtml();


}); //end ready function
content_copyCOPY