sympmarc / SPServices

SPServices is a jQuery library which abstracts SharePoint's Web Services and makes them easier to use. It also includes functions which use the various Web Service operations to provide more useful (and cool) capabilities. It works entirely client side and requires no server install.
MIT License
208 stars 61 forks source link

SPLookupAddNew Open in Modal #74

Open automan25 opened 5 years ago

automan25 commented 5 years ago

I'm using SPLookupAddNew to create an add new link for one of the columns on a form. When the linked is clicked the associated form always opens up in a new tab rather than a modal dialog as desired. I've tried playing with the newWindow:(true/false) option to no avail. I've gotten it to work properly on other sites. Any ideas?

automan25 commented 5 years ago

I just remembered that getting the modals to work requires an updated version of the SPLookupAddNew function. Many thanks to Emerson Bruce for the update. (https://chayadigital.wordpress.com/2010/11/22/splookupaddnew-for-sharepoint-2010/)