Monthly Archives: January 2018

Pepole picker validation at client side in javascript or JQuery.

User can validate a people picker/editor created from server side code while submitting the page using javascript.   if ($(“div[id$=’pePeoplePickerName_upLevelDiv’]”).find(‘span’).text() == “”) { valid = false; alert(‘Please enter user in people picker.’) } Advertisements

Posted in SharePoint | Tagged , , , , , , , , , , , , | Leave a comment