Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Comment on "$().SPServices.SPFindPeoplePicker"

$
0
0
I have been unable to get this function to work. It may be that I am too green to understand the additional code to update the form to show the changed value. I have added the following: <script language="javascript" type="text/javascript"> $(document).ready(function() { var pp = $().SPFindPeoplePicker({ peoplePickerDisplayName: "Name", valueToSet: "corp\\userid" }); $().SPServices.SPRedirectWithID({ redirectUrl: "EditForm.aspx" }); }); </script> The second fuction works like a charm, but I am trying to prepopulate the People Picker with the current user data. For testing I have just been puting my own ID in the ValueToSet Field. This results in still a blank field on the form. Details: SharePoint 2007 <script language="javascript" type="text/javascript" src="../../jscripts/jquery-1.8.3.min.js"></script> <script language="javascript" type="text/javascript" src="../../jscripts/jquery.SPServices-0.7.2.min.js"></script> The form is a custom form based off a custom list form. Any help or directing to a primer would be appreciated... Cheers, Zim

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>