Validating the People Picker in SharePoint with J query
--------------------------------------------------------------------------------------
// Peoplepicker name: pplName
function CheckPeoplePickerIsEmpty()
{
var value = $(".pplName span.ms-entity-resolved").attr("title");
if (value == undefined) {
$('#pplmsg').text("Please select people name."); // Take span for printing the msg
}
else {
$('#pplmsg').text("");
}
}
=======================================================================
No comments:
Post a Comment