How to write code to track event when you click close/ cross button in people picker ? How to track event when you clear all values in a managed metadata field ?

I have a requirement to display managed metadata field when people picker is empty . Display people picker when managed metadata field is empty .

1 Answer 1


You could monitor change event of managed metadata field by

RTE.CanvasEvents.registerListener(RTE.CanvasEvents.editableRegionChangedEvent, Function.createDelegate(null, onCustomTextChanged));

Reference below thread. jQuery - Detect value change on page and call routine

For people picker change event, you may check below thread.

SharePoint Client People Picker change event

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.