Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: Combining SPAutocomplete with SPDisplayRelatedInfo

$
0
0
Hello,

I am using SP2007 and have setup a form which has an input field: "Enter ID" which is used in conjuction with autocomplete.

My question is can Autocomplete be used inconjuction with SPDisplayRelatedInfo. If not, can it be used to filter a dropdown?

My attempted syntax is below:

$(document).ready(function() {
$().SPServices.SPAutocomplete({
                sourceList: "{65FA9BA9-5323-4379-B46D-A9E54054D729}",
                sourceColumn: "Title",
                columnName: "Enter ID",
                filterType: "BeginsWith",
                numChars: 2,
                ignoreCase: false,
                highlightClass: "",
                uniqueVals: false,
                slideDownSpeed: "fast",
                debug: true
});
$().SPServices.SPDisplayRelatedInfo({
        columnName: "Enter ID",
        relatedList: "{65FA9BA9-5323-4379-B46D-A9E54054D729}",
        relatedListColumn: "Title",
        relatedColumns: ["Name", "Manager"],
        displayFormat: "list"
});
});

Many thanks for the help in advance.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>