AnsweredAssumed Answered

Guys I really need help. I am unable to implement an autocomplete field on an office 365 Nintex form. I have referenced SPservices and modified the fiel to change the JQuery at the end with (NWF$).

Question asked by dagkeb on Aug 10, 2016
Latest reply on Aug 22, 2016 by achilles.aditya

Guys I really need help. I am unable to implement an autocomplete field on an office 365 Nintex form. I have referenced SPservices and modified the fiel to change the JQuery at the end with (NWF$).
My code is below. NintexDevForm-source list and Title is source column. projectids- is the javascritp id on the Nintex form control.

NWF$(document).ready(function() {  
 
   var externalParties = [];    
   NWF$().SPServices({     
      operation: "GetListItems",     
      async: false,     
      listName: "NintexDevForm",     
      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$("#" + projectids).autocomplete({     
      source: externalParties 
   });
});

Outcomes