I have two fields. I want to have first field to be more than zero(0) and the second field to be more than one(1). Also the first field should never be equal to or greater than the second field.
this is what i have done so far
$("#entryForm").validationEngine();
$('#field1').rules('add', {
min: 1,
messages: {
required: 'Some custom message for the required field'
}
});
$('#field2').rules('add', {
min: 2,
messages: {
required: 'Some custom message for the required field'
}
});