2

I want to handle the javascript event whenever the person is removed from the PeoplePicker control in new form of custom list.

If any person is removed then corresponding department value should be blank. Please suggest how to do so?

1
  • Did you get a solution for this? looking to do something similar... S
    – Stephen
    Commented Aug 5, 2014 at 15:48

3 Answers 3

2

Looks like _layouts/15/clientpeoplepicker.js is running DeleteProcessedUser, OnControlValueChanged and OnControlResolvedUserChanged when I try removing someone from the PeoplePicker control in my SP2013 dev environment.
There's quite a few other functions being called from the clientpeoplepicker.js file also, but these seem to be the most relevant.

Hope this helps!

-1

Probably you can add onblur event on the hidden textarea feild and check if it is empty or valid and do your logic.

$("textarea[id$='_UserField_downlevelTextBox']").onblur(function(){ <do your stuff here> });
-2

This is the function that is called : EERemove();

This is the structure:

<SPAN text="Remove" onMenuClick="EERemove();" type="option" iconAltText></SPAN>
1
  • 1
    Hi, can you please try to elaborate this question a bit more? It is not really clear what this EERemove() is and what it does Commented Feb 4, 2014 at 10:58

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.