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