Skip to content

Instantly share code, notes, and snippets.

@vgrem
Created November 6, 2012 09:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vgrem/4023727 to your computer and use it in GitHub Desktop.
Save vgrem/4023727 to your computer and use it in GitHub Desktop.
SharePoint People Editor Validator
function validateIfPeopleEditorNotEmpty(peId) {
var $pe = $("#" + peId);
var $peValHolder = $pe.find("input[id$='hiddenSpanData']");
return ($peValHolder.val().length > 0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment