Created
April 1, 2015 09:44
-
-
Save dimkk/73231ecd88bff8f252f7 to your computer and use it in GitHub Desktop.
form.aspx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="[YOUR PATH]/jquery.js"></script> | |
<script src="[YOUR PATH]/jquery.SPServices-0.7.2.js"></script> | |
<script src="[YOUR PATH]/spsext.js"></script> | |
<script> | |
(function() { | |
if (!_spBodyOnLoadCalled) { | |
_spBodyOnLoadFunctions.push(pageLoad); | |
} else { | |
pageLoad(); | |
} | |
function pageLoad() { | |
var pp = $.SPServices.findPP({ //Returns spservices object like from SPFindPeoplePicker | |
id: '', //Unique FormControl Identifier | |
valueToSet: '', //account of user, like davolkovsky | |
checkNames: true, // in order to click check | |
debug: true // this will cause to highlight the pp row | |
}); | |
} | |
})(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment