Validate Custom People Picker Control in SharePoint Online

var pplNominationSubmitted = SPClientPeoplePicker.SPClientPeoplePickerDict.pplNominationSubmitted_TopSpan;
var pplNominationSubmittedUser = pplNominationSubmitted.GetAllUserInfo();
if (pplNominationSubmittedUser.length <= 0) {
alert("Please enter the 'Name' of the Submitter ")
}

Comments

Popular posts from this blog

My Interview Experience

React Checkbox Control SPFx