How to blank out cross-site lookup

rss

Posted by MES5464 - Jan 16 ’14 at 03:50

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?

 

  • MES5464
    Member
    Member for: 8 years 11 months 20 days
    #1 by MES5464 Jan 16 ’14 at 03:52

    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?

     

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 8 years 10 months 24 days
    #2 by Dmitry Kozlov Jan 17 ’14 at 03:29

    [#1]: Hello,

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

    SharePoint Clear DropDown

    And define the following code in its OnClick property:

     
    fd.field('Employee').value('');
    return false;
    
Displaying 1 to 2 of 2 messages