Trait Required
Trait for all visible fields, for classes:
- \MvcCore\Ext\Forms\Fields\Button
- \MvcCore\Ext\Forms\Fields\SubmitButton
- \MvcCore\Ext\Forms\Fields\ResetButton
- \MvcCore\Ext\Forms\Fields\Color
- \MvcCore\Ext\Forms\Fields\Date
- \MvcCore\Ext\Forms\Fields\DateTime
- \MvcCore\Ext\Forms\Fields\Month
- \MvcCore\Ext\Forms\Fields\Time
- \MvcCore\Ext\Forms\Fields\Week
- \MvcCore\Ext\Forms\Fields\File
- \MvcCore\Ext\Forms\Fields\Checkbox
- \MvcCore\Ext\Forms\Fields\Image
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\ResetInput
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\Fields\SubmitInput
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea
- \MvcCore\Ext\Forms\FieldsGroup
- \MvcCore\Ext\Forms\CheckboxGroup
- \MvcCore\Ext\Forms\RadioGroup
Direct Known Users
MvcCore\Ext\Forms\Field\Props\VisibleFieldLocated at ext-form/src/MvcCore/Ext/Forms/Field/Props/Required.php
public
boolean|null
|
#
GetRequired( )
Get form field attribute required, determination
if field will be required to complete any value by user.
This flag is also used for submit checking. Default value is |
public
|
#
SetRequired( boolean|null $required = TRUE )
Set form field attribute required, determination
if field will be required to complete any value by user.
This flag is also used for submit checking. Default value is |
protected
boolean|null
|
$required
Form field attribute |
#
NULL
|