This project has moved and is read-only. For the latest updates, please go here.

AutoComplete SPServices v2014.02, SP2010, jq1.11.0

Mar 20, 2015 at 7:46 AM
Edited Mar 20, 2015 at 7:47 AM
Having issues getting this to work. I am using a custom list with OOTB field types. The Title column is the default one that comes with every list.
        sourceList: "NWDC_Tags",
        sourceColumn: "Title",
        columnName: "Title",
        numChars: 3,
        ignoreCase: true,
        highlightClass: "ms-bold"
        slideDownSpeed: 100,
        debug: true
below this in the page I have
test autocomplete: <input name="txtGetTitle" id="txtGetTitle" title="Title" type="text" >

When the page loads in the console I get the following I dont know what to do with:
Uncaught TypeError: Cannot read property 'find' of undefined ... jquery.SPServices.min.js:19 ao.fn.SPServices.SPAutocomplete ... spsvcs.aspx:969 
(anonymous function)
my imports are:
<script type="text/javascript" src="//"></script>
<script type="text/javascript" src="/SiteAssets/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="//"></script>
<link rel="stylesheet" type="text/css" href="/SiteAssets/css/start/jquery-ui.min.css"/>

As always your help is appreciated.
Mar 20, 2015 at 12:26 PM
It doesn't sound like you are using this on a default list form, which is the way I've intended it to be used. If you want to add autocomplete functionality to any arbitrary field, I'd suggest using jQueryUI's autocomplete instead. You're already referencing that library.

Mar 20, 2015 at 3:40 PM
Will do.

Thanks for the fast response and great support as always.