sOnSubmitJsCode = null; $this->sAction = null; } public function SetOnSubmitJsCode(string $sJsCode) { $this->sOnSubmitJsCode = $sJsCode; return $this; } /** * @return string */ public function GetOnSubmitJsCode(): ?string { return $this->sOnSubmitJsCode; } /** * @return string */ public function GetAction(): ?string { return $this->sAction; } /** * @param string $sAction * * @return Form */ public function SetAction(string $sAction) { $this->sAction = $sAction; return $this; } /** * Override default enctype (default : "multipart/form-data") * @param string $sEncType * @return $this * @since 3.3.0 */ public function SetEncType(string $sEncType) { $this->sEncType = $sEncType; return $this; } /** * @return string * @since 3.3.0 */ public function GetEncType(): string { return $this->sEncType; } }