Page 1 of 1

How to blank out cross-site lookup

Posted: 16 Jan 2014
by MES5464
I have a cross-site lookup field, how does one blank out the field?

If there is a value in the field and you want to empty it, how does one do that?

Re: How to blank out cross-site lookup

Posted: 16 Jan 2014
by MES5464
I do not mean blanking it out in code, I am wondering has does a user set a cross-site lookup field back to null?

Re: How to blank out cross-site lookup

Posted: 17 Jan 2014
by Dmitry Kozlov
Hello,

I can recommend you to put Hyperlink 'Clear' near your lookup field:

Image

SharePoint Clear DropDown

And define the following code in its OnClick property:

Code: Select all

fd.field('Employee').value('');
return false;