Hoist validation errors from hidden fields to the top of the form
[lhc/web/wiklou.git] / includes / htmlform / HTMLHiddenField.php
index ffde915..e4695f7 100644 (file)
@@ -55,4 +55,8 @@ class HTMLHiddenField extends HTMLFormField {
        public function getInputHTML( $value ) {
                return '';
        }
+
+       public function canDisplayErrors() {
+               return false;
+       }
 }