0

How do you change the label (not field values) of a SharePoint people picker using javascript?

Having a foggy moment where nothing seems to be working.

1
  • The label? Column name? Or the help text for the control? Aug 21, 2019 at 5:43

1 Answer 1

0

What do you mean about the label of the people picker?

If you want to change the column name, we can go to list settings to change it.

If you want to change the help text of the people picker, we can use the code below to achieve it.

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type="text/javascript">
$(function () {
    $("span.sp-peoplepicker-initialHelpText").text("Enter user information..");
});
</script>

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.