Hi,
I need some assistance here, I am copying some values from the above row to the added row using the following script example
$(document).on('click', '.cf-table-add-row', function(){
$('.datefield input').last().val($('.datefield input:eq(-2)').val());
$('.rate select').last().val($('.rate selecteq(-2)').val());
});
It works well when creating a table from the beginning. The issue comes when adding a table row after downloading values into the table via lookup. On the first added row instead of copying the value of the upper row, it just inputs a number. But the moment you fill in this first added row, the subsequent rows are ok. What might be causing this?
Mrk