Skip to main content
Nintex Community Menu Bar

Clean column type Person or Group

  • October 17, 2016
  • 5 replies
  • 11 views

Forum|alt.badge.img+6

Hello Guys,

Could you please give me some tips to clear up a column "type" Person or Group if a yes/no control is active?

How can I delete an approver from my column by clicking  my Yes/ No control?

This is the normal process when the approval name is needed.

193313_pastedImage_1.png

In this case I have an approval already, so what I need is clear the approver by clicking my Yes/No control.

193314_pastedImage_2.png

Thank you guys.

5 replies

Forum|alt.badge.img+14
  • Scholar
  • October 17, 2016

following should do the trick

var ppobj = new NF.PeoplePickerApi('#'+PP);
ppobj.clear();

see  


Forum|alt.badge.img+6
  • Author
  • October 17, 2016

Hello Marian,

Thanks for your answer, shame on me, to be honest I don’t have a lot of knowledge on Nintex, could you please give me more details about this, I mean where should I declare the code.

Thanks

Walter Fuentes


Forum|alt.badge.img+14
  • Scholar
  • October 17, 2016

since you want to trigger the clear on checkbox change, you have to define (on)change event handler for that checkbox control.

these kind of handlers are typically being attcahed in ready() or RegisterAfterReady() events.

you can place all the handling javascript code into form settings/custom javascript section or place it into separate script file and include the file within form settings/adanced section


Forum|alt.badge.img+6
  • Author
  • October 18, 2016

Hello Marian Hatala

Thank you very much for the extra help you gave me, my problem has been fixed happy.png


Forum|alt.badge.img+14
  • Scholar
  • October 18, 2016

that's great!

set the question answered.