Continuing on the subject in this post about making the auto file automatic (https://answers.laserfiche.com/questions/48879/Auto-Fill-Button )
I have added the javascript with the for each function but only the first row is automatically populated. You still need to click the button manually on row 2+
I thought the For Each function was going to handle this. Am I missing something that is skipping the additional rows?
$('.lookuptrigger input').change(tableAutofill);
}
function tableAutofill() {
$('.cf-table-block tbody tr').each(function () {
$(this).find('button.autofill').trigger('click');
});
}