Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Prado
Web
UI
WebControls
TBaseValidator
setFocusElementID
Prado\Web\UI\WebControls\TBaseValidator::setFocusElementID PHP Method
TBaseValidator Class Documentation
显示文件
Open project: pradosoft/prado
setFocusElementID()
public
method
Sets the ID of the HTML element that will receive focus if validation fails and {@link getFocusOnError FocusOnError} is true.
public
setFocusElementID
(
$value
)
public function setFocusElementID($value) { $this->setViewState('FocusElementID', $value, ''); }
TBaseValidator
__construct
addAttributesToRender
createClientSide
evaluateIsValid
getClientClassName
getClientControlClass
getClientScriptOptions
getClientSide
getControlCssClass
getControlToValidate
getDisplay
getEnableClientScript
getErrorMessage
getFocusElementID
getFocusOnError
getIsValid
getValidationGroup
getValidationTarget
getValidationValue
onInit
onPreRender
onUnload
onValidate
onValidationError
onValidationSuccess
registerClientScriptValidator
renderClientControlScript
renderContents
setControlCssClass
setControlToValidate
setDisplay
setEnableClientScript
setEnabled
setErrorMessage
setFocusElementID
setFocusOnError
setForControl
setIsValid
setValidationGroup
updateControlCssClass
validate