We had to implement a functionality wherein we had a tab control with a peopleeditor in the first tab and we had to show the summary of all controls of the first tab in the second tab.

Initially,we were facing difficulties in fetching values in the peopleeditor, then we found out a way: Our people editor control had the id=pplContact

@ Register Tagprefix=”wssawc” Namespace=”Microsoft.SharePoint.WebControls” Assembly=”Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c” %> 

<wssawc:PeopleEditor id=”pplContacts” runat=”server” MultiSelect=”true” AllowEmpty=”false” PlaceButtonsUnderEntityEditor=”false” Width=”388px”/>

In the javascript for tab change, we included the following:

var users = null;
var  elem = document.forms[0].elements;
for(var i=0; i < elem.length; i++) {// look for the value we set the peopleeditor’s id to and “TextBox”
if(elem[i].id.indexOf(“pplOwner”) != -1 && elem[i].id.indexOf(“TextBox”) != -1) users = elem[i].value; }
Thus, we couls easily put the value of people editor pplOwner in a label on the next tab using:
document.getElementById(‘<%=lblOwner.ClientID %>’).innerHTML = users;