3 class HTMLHiddenField
extends HTMLFormField
{
4 public function __construct( $params ) {
5 parent
::__construct( $params );
7 # Per HTML5 spec, hidden fields cannot be 'required'
8 # http://www.w3.org/TR/html5/forms.html#hidden-state-%28type=hidden%29
9 unset( $this->mParams
['required'] );
12 public function getTableRow( $value ) {
15 $params['id'] = $this->mID
;
18 $this->mParent
->addHiddenField( $this->mName
, $this->mDefault
, $params );
26 public function getDiv( $value ) {
27 return $this->getTableRow( $value );
33 public function getRaw( $value ) {
34 return $this->getTableRow( $value );
37 public function getInputHTML( $value ) {