Enum.GetValues(typeof(SomeEnum)).Cast();
(The original solution thread at stackoverflow)
Enum.GetValues(typeof(SomeEnum)).Cast();
$('#MyForm').validate().form();And for checking if the all the validations get passed look for something like
var isMyFormValid = $('#MyForm').validate().valid();That's all.