diff --git a/src/definitions/behaviors/form.js b/src/definitions/behaviors/form.js index 5dba69740..e3c369b51 100644 --- a/src/definitions/behaviors/form.js +++ b/src/definitions/behaviors/form.js @@ -408,6 +408,9 @@ $.fn.form = function(parameters) { var rules ; + if(!validation) { + return false; + } $.each(validation, function(fieldName, field) { if( module.get.field(field.identifier)[0] == $field[0] ) { rules = field;