diff --git a/views/bootstrap/class.OverrideContentStatus.php b/views/bootstrap/class.OverrideContentStatus.php index 3332559ca..251c2f543 100644 --- a/views/bootstrap/class.OverrideContentStatus.php +++ b/views/bootstrap/class.OverrideContentStatus.php @@ -37,14 +37,6 @@ class SeedDMS_View_OverrideContentStatus extends SeedDMS_Theme_Style { ?> $(document).ready(function() { $("#form1").validate({ - rules: { - comment: { - required: true - }, - overrideStatus: { - required: true - }, - }, messages: { comment: "", overrideStatus: "", @@ -88,7 +80,7 @@ $(document).ready(function() { array( 'element'=>'textarea', 'name'=>'comment', - 'required'=>true, + 'required'=>false, 'rows'=>4, ) ); @@ -104,6 +96,7 @@ $(document).ready(function() { 'element'=>'select', 'name'=>'overrideStatus', 'options'=>$options, + 'required'=>true, ) ); $this->contentContainerEnd();