Clear People Picker field

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Katy
Posts: 145
Joined: Wed Dec 02, 2015
Location: Canada

10 Jan 2019

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 ((

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

11 Jan 2019

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.

Katy
Posts: 145
Joined: Wed Dec 02, 2015
Location: Canada

14 Jan 2019

Hi Alex,
It worked!!!! thanks!!!!
(i've tried only single quotes before for name field)

Marvinether
Posts: 2
Joined: Thu Feb 14, 2019
Location: Peru
Contact:

18 Feb 2019

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 ?

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

19 Feb 2019

Hi!

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

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 12 guests