Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Pop
Form
Element
isRequired
Pop\Form\Element::isRequired PHP Method
Element Class Documentation
Show file
Open project: nicksagona/PopPHP
isRequired()
public
method
Get whether the form element object is required.
public
isRequired
( ) :
boolean
return
boolean
public function isRequired() { return $this->required; }
Element
__construct
addValidator
clearErrors
getErrors
getLabel
getLabelAttributes
getMarked
getName
getType
getValidators
getValue
hasErrors
isCaptcha
isCheckbox
isCsrf
isMultiple
isRadio
isRequired
isSelect
isTextarea
output
render
setErrorDisplay
setErrorPost
setErrorPre
setLabel
setLabelAttributes
setMarked
setName
setRequired
setValidators
setValue
validate