This project has moved. For the latest updates, please go here.

SPLookupAddNew Issue in SP2010

Dec 1, 2010 at 1:05 PM
KeithHudson Nov 30 at 8:09 PM

Marc, this worked like a charm in an SP 2007 site. I'm now trying this on a list in SP 2010. I have modal dialogs on this list (ContractList) turned off, but am not getting the desired results. Here's my code -- any ideas on what I'm missing? The display name of the lookup column is Vendor. Although I have debug turned on, I'm not seeing any error messages. I have inserted the code in the source editor of an HTML Form web part on the page. I know the javascript is running, because when I insert an alert in the code it fires when the page loads.

<script language="javascript" type="text/javascript" src=""></script>

<script language="javascript" type="text/javascript" src=""></script>

$(document).ready(function() {
lookupColumn: "Vendor",
promptText: "Add new {0} ",
completefunc: null,
debug: true });

Dec 1, 2010 at 1:07 PM


I don't see anything obviously wrong here. What's happening in the form? Are you getting the link, or is nothing showing?


Dec 2, 2010 at 2:45 AM

Nothing is showing -- no link.

Dec 2, 2010 at 2:49 AM

Any JavaScript errors?


Dec 2, 2010 at 3:08 PM

no JavaScript errors

Dec 2, 2010 at 3:25 PM

You're making it a little difficult to help. ;+)