92
100
row.find("input,select,textarea,label,a").each(function() {
93
101
updateElementIndex(this, options.prefix, totalForms.val());
95
105
// Update number of total forms
97
107
// Hide add button in case we've hit the max, except we want to add infinitely
98
108
if ((maxForms.val() != '') && (maxForms.val()-totalForms.val()) <= 0) {
99
109
addButton.parent().hide();