AnsweredAssumed Answered

Autocomplete on added row in nested repeating section

Question asked by danny.foncke@smals.be on Mar 28, 2018
Latest reply on Mar 29, 2018 by danny.foncke@smals.be

Hi,

 

I followed Autocomplete in a repeating section  and that works just fine 
On opening the form it also works on nested repeating sections.
(A repeating section in a repeating section also gets the autocomplete set)

 

However it does not work when a row is added.
I add this in the rowadded :

var field_control_id = repeaterRow.find('.' + fieldClassName).attr("id");
NWF$("#" + field_control_id).autocomplete({ source: elements });

This works for the main repeating section

However it does not work for a nested repeating section !
The field_control_id is found and the autocomplete is executed, however in the form there is no autocomplete functionality !

 

All feedback and help greatly appreciated

 

Thanks

 

Danny

 

Outcomes