htaccess --> php_value max_input_vars 3000
.php --> ini_set('max_input_vars', 3000);
$(document).ready(function() {
$("input").attr({
"max" : 10, // substitute your own
"min" : 2 // values (or variables) here
});
});