AnsweredAssumed Answered

Autocomplete a repeating section JQuery

Question asked by jscarb on Mar 6, 2018
Latest reply on Mar 9, 2018 by jscarb


I know this question has been asked before but I just couldn't find a way to use autocomplete in repeating section. I  followed the approach from here and it is working fine, but inside the repeating section it's not.


NWF$(document).ready(function() { 
   NWF$.dropdownAutocomplete(autocompleteDropModule, autocompleteTextModule, 1);});


For the repeating section, the following code from here didn't help: (modRepeater is the CSS class for the repeating section, modTxt is the CSS class for the input text field with the JS class autocompleteTextModule, and modLookup is for the dropdown control with the JS class autocompleteDropModule.


var repeaterRow = NWF$(arguments[0][0]);

   $modTxtInput = repeaterRow.find(".modTxt input")[0].id;
   $modTxtLookup = repeaterRow.find(".modLookup select")[0].id;


      $modTxtInput, 1);


I know I am missing something simple, hopefully someone can provide a solution.