public function setHidden($hidden)
    {
        if ($this->autocompleterCallback) {
            throw new LogicException('A hidden question cannot use the autocompleter.');
        }

        $this->hidden = (bool) $hidden;

        return $this;
    }
public function setHidden($hidden)
    {
        if ($this->autocompleterCallback) {
            throw new LogicException('A hidden question cannot use the autocompleter.');
        }

        $this->hidden = (bool) $hidden;

        return $this;
    }
public function setHidden ( $ hidden ) { if ( $ this -> autocompleterCallback ) { throw new LogicException ( 'A hidden question cannot use the autocompleter.' ) ; } $ this -> hidden = ( bool ) $ hidden ; return $ this ; }
Sets whether the user response must be hidden or not.

@param bool $hidden

@return $this

@throws LogicException In case the autocompleter is also used
Sets whether the user response must be hidden or not .