I have a simple form that is performing a lookup on two values to populate a dropdown field on the form. This dropdown field and lookup fields are all contained in a collection. I added the following JavaScript to execute autofill when the lookup condition is changed:
$(document).ready(function () {
function autofill() {
$('.autofill').trigger('click');
}
$('.IBMIC').change(autofill);
});
This works in updating the dropdown field in the first in the first part, but if the user adds additional sections to the collection, all subsequent sections do not update the lookup field. I have attached a screenshot of the form, Lookup Rules, and JavaScript. Any help is greatly appreciated.