Page 1 of 1

Clear People Picker field

Posted: 10 Jan 2019
by Katy
Hi there :-)
I have a condition which populates a name for People Picker field, but i need to remove it if the field is changed.... and i can't :-( Could you please help me? i tried
fd.field('Approver').control().value()
fd.field('Approver').control().value('')
fd.field('Approver').control().value("")
fd.field('Approver').control().value() == ''
fd.field('Approver').control().value() == ""

no luck ((

Re: Clear People Picker field

Posted: 11 Jan 2019
by AlexZver
Dear Katy,

Please try this code:

Code: Select all

fd.field("Approver").value("")
If it doesn't help, please provide the screenshot of the browser console.

Re: Clear People Picker field

Posted: 14 Jan 2019
by Katy
Hi Alex,
It worked!!!! thanks!!!!
(i've tried only single quotes before for name field)

Clear People Picker field

Posted: 18 Feb 2019
by Marvinether
this info is related to the option of set the standard edit-box to type -> time, but this is not related to the Date picker right ?

Re: Clear People Picker field

Posted: 19 Feb 2019
by AlexZver
Hi!

It can be used to erase the value of the Date field too.