span><span class="qm-api-header-tags"></span></div></div></div></div><div class="qm-api-collapsible-content"><div class="qm-api-item-content"><div class="qm-api-description"><div class="qm-html-paragraph">A function to prevent the user from adding certain tags. <div id="validated-tag-input"></div> </div><div class="qm-html-paragraph"><script>@description
  // example: only allow non number inputs
  var validator = function(name) {
    if (!isNaN(Number(name))){
      return "please enter text";
    }
  };
 