I need a way to copy what users place in a People Picker field (single selection only) and place it into a single line text field. I'm not allowed to user Designer so this can only be done with javascript. I've found suggestions on pulling data, but none that will then place it into the text field. Can someone lend a hand with this. Here's the html code
<div title="Employee" class="sp-peoplepicker-topLevel" id="Employee_e527eed9-6e73-4eff-b75c-f4746a0e7656_$ClientPeoplePicker" SPClientPeoplePicker="true">
<input name="Employee_e527eed9-6e73-4eff-b75c-f4746a0e7656_$ClientPeoplePicker_HiddenInput" id="Employee_e527eed9-6e73-4eff-b75c-f4746a0e7656_$ClientPeoplePicker_HiddenInput" type="hidden">
<div class="sp-peoplepicker-autoFillContainer" id="Employee_e527eed9-6e73-4eff-b75c-f4746a0e7656_$ClientPeoplePicker_AutoFillDiv"></div>
<span class="sp-peoplepicker-initialHelpText ms-helperText" id="Employee_e527eed9-6e73-4eff-b75c-f4746a0e7656_$ClientPeoplePicker_InitialHelpText">Enter a name or email address...</span>
<img class="sp-peoplepicker-waitImg" id="Employee_e527eed9-6e73-4eff-b75c-f4746a0e7656_$ClientPeoplePicker_WaitImage" alt="This animation indicates the operation is in progress. Click to remove this animated image." src="/_layouts/15/images/gears_anv4.gif?rev=23"><span class="sp-peoplepicker-resolveList" id="Employee_e527eed9-6e73-4eff-b75c-f4746a0e7656_$ClientPeoplePicker_ResolvedList"></span>
<input title="Employee, Enter a name or email address..." class="sp-peoplepicker-editorInput" id="Employee_e527eed9-6e73-4eff-b75c-f4746a0e7656_$ClientPeoplePicker_EditorInput" type="text" size="1" value="" autocorrect="off" autocomplete="off" autocapitalize="off" data-sp-peoplePickerEditor="true"></div>
Thanks