Validation by checking a particular field on each row versus the last row

Lucas,

I think you want to loop through the rows of the NumbersToMerge model, not through the definition of the model itself. Try replacing your $.each() line with this:

$.each(NumbersToMerge<b>.getRows()</b>, function(i, row){