SPServices.Autocomplete not working on Forms created with Forms Designer
-
- Posts: 5
- Joined: Wed Mar 06, 2019
Hello,
i hope someone can help me. I try to use the Jquery library SPServices.Autocomplete but i get this error message:
Uncaught TypeError: Cannot read property 'find' of undefined
at Function.ao.fn.SPServices.SPAutocomplete (eval at <anonymous> (plumsail.fd.jquery.js?rev=uWqMkVfr%2B6VHuu0VYpVNCg%3D%3D:2), <anonymous>:19:63536)
My code looks like this:
$.getScript("/websites/DoppWarrenty/SiteAssets/jquery-3.1.1.min.js")
.then(function() { return $.getScript("/websites/DoppWarrenty/SiteAssets/jquery.SPServices.min.js") })
.then(function(data) {
var $ = window.$;
$().SPServices.SPAutocomplete({
sourceList: "Ersatzteilkatalog", // Source List Name
sourceColumn: "Title", // Source List Column from where you want to fetch it.
columnName: "Kunden-Antrags-Nr", // Destination List Column where you wan to add it.
ignoreCase: true,
numChars: 2,
slideDownSpeed: 'fast',
filterType: "Contains"
});
});
Has someone a solution for this problem?
i hope someone can help me. I try to use the Jquery library SPServices.Autocomplete but i get this error message:
Uncaught TypeError: Cannot read property 'find' of undefined
at Function.ao.fn.SPServices.SPAutocomplete (eval at <anonymous> (plumsail.fd.jquery.js?rev=uWqMkVfr%2B6VHuu0VYpVNCg%3D%3D:2), <anonymous>:19:63536)
My code looks like this:
$.getScript("/websites/DoppWarrenty/SiteAssets/jquery-3.1.1.min.js")
.then(function() { return $.getScript("/websites/DoppWarrenty/SiteAssets/jquery.SPServices.min.js") })
.then(function(data) {
var $ = window.$;
$().SPServices.SPAutocomplete({
sourceList: "Ersatzteilkatalog", // Source List Name
sourceColumn: "Title", // Source List Column from where you want to fetch it.
columnName: "Kunden-Antrags-Nr", // Destination List Column where you wan to add it.
ignoreCase: true,
numChars: 2,
slideDownSpeed: 'fast',
filterType: "Contains"
});
});
Has someone a solution for this problem?
-
- Posts: 5
- Joined: Wed Mar 06, 2019
Hi AlexZver,
can u give me a link or example to get a similar functionality without using jqueryui autocomplete?
Thanks in advance!
can u give me a link or example to get a similar functionality without using jqueryui autocomplete?
Thanks in advance!
-
- Information
-
Who is online
Users browsing this forum: No registered users and 9 guests