cancel
Showing results for 
Search instead for 
Did you mean: 
santhoshraj
Nintex Newbie

Auto complete text box in nintex forms sharepoint 2013

Jump to solution

Hello,

How to achieve auto complete for text box in nintex fomrs using javascript or jquery.

I have one list, in list their is on column called "Title". Title column contains items in list. on the form i want auto complete based on alphabetics .

 ex: if type A letter below i want all the names with started with "A" letter.

How to achieve this.

Thanks in advance.

Regards,

Santhosh

Labels: (1)
Reply
6 Replies
fhunth
Nintex Newbie

Re: Auto complete text box in nintex forms sharepoint 2013

Jump to solution

It is not a current Nintex feature, anyway I remember that sometime ago I used this >>> https://jqueryui.com/autocomplete/ 

0 Kudos
Reply
emha
Nintex Newbie

Re: Auto complete text box in nintex forms sharepoint 2013

Jump to solution
0 Kudos
Reply
santhoshraj
Nintex Newbie

Re: Auto complete text box in nintex forms sharepoint 2013

Jump to solution

Hi Marian,

Thank you for response.

I have gone through the above you mentioned link, and I have added some code.

below is my code for AutoComplete. Here I am querying the within the list only. But I am not getting the result.

could you please check the code, give me ideas, where did i go wrong in code.

Any help would be very appreciated.

<script src=".....SiteAssets/jquery.SPServices-2014.02.min.js"></script>
<script src=".....SiteAssets/jquery-1.7.1.js"></script>
<script src="......SiteAssets/sputility.min.js"></script>
<script>
NWF$(document).ready(function() {
var externalParties = [];
NWF$().SPServices({
operation: "GetListItems",
async: false,
listName: "Test1",
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"));
});
}
});
NWF$("#" + testinput).autocomplete({
source: externalParties
});
});

</script>

Thanks,

Santhosh.

0 Kudos
Reply
emha
Nintex Newbie

Re: Auto complete text box in nintex forms sharepoint 2013

Jump to solution

I'm not sure, don't you get any results from list query?

or you do get results from list query but they are not shown as autocomplete options?

do you get any errors on developer console?

0 Kudos
Reply
santhoshraj
Nintex Newbie

Re: Auto complete text box in nintex forms sharepoint 2013

Jump to solution

Hi Marian,

It's working fine now. before i didn't give correct path for script files. now I have changed script path files. it's working fine.

Thanks for your support.

Regards,

Santhosh.

Reply
AasimNaseem
Nintex Newbie

Re: Auto complete text box in nintex forms sharepoint 2013

Jump to solution

Hello,

I'm also trying the same steps but auto-complete is not working. When I start typing in a text field, I'm not getting anys uggestion .

 

Below is my script, and the include file. I have also change the (jQuery) to (NWF$) in the jquery.SPServices.min.js file.

 

Please guide me what else I'm missing?

 

script.PNG

 

include.PNG

0 Kudos
Reply