harfmt
Nintex Newbie

Re: Autocomplete in nintexform

Jump to solution

Hi Patrick

Do you know if there is a way to autocomplete from cache rather than from a list?

0 Kudos
Reply
AasimNaseem
Nintex Newbie

Re: Autocomplete in nintexform

Jump to solution

I have changed the jQuery to NWF but still the autocomplete is not working.

Below is my code and the js file I uploaded in the style library. I have include this file in the "Include" section of form. Please guide.

 

include.PNGscript.PNG

0 Kudos
Reply
AasimNaseem
Nintex Newbie

Re: Autocomplete in nintexform

Jump to solution

Hello

 

I'm not able to achieve this functionality. Can you pleae guide me? I have change the jQuery to NWF in the js file, and uploaded into syle library.

 

Please guide.

 

 

 

include.PNG

include-js.PNG

 

script.PNG

0 Kudos
Reply
Bart
Nintex Newbie

Re: Autocomplete in nintexform

Jump to solution

Hello Gokulnath

I have a similar script loaded to the style library and it will get called on the nintex form.

But I noticed that I can only define Title and ows_Title to let it work.
But I want another column to be searched on what is in this case called OracleName.

 

NWF$(document).ready(function() {
var externalParties = [];
NWF$().SPServices({
operation: "GetListItems",
async: false,
listName: "EMEA Contracts Combined Info",
CAMLViewFields: "<ViewFields><FieldRef Name='Title' /></ViewFields>",
completefunc: function (xData, Status) {
NWF$(xData.responseXML).SPFilterNode("z:row").each(function() {
externalParties.push(NWF$(this).attr("ows_Title"));
});
}
});
//journalinput is added on the control in the NF
NWF$("#" + NameVARDistributor).autocomplete({
source: externalParties
});
});

 

Do you happen to know why it is not loading results when choosing another FieldRef ?

0 Kudos
Reply