required

New in version 12.0

This option should be used instead of an eval property with the deprecated keyword required.

required
Type
boolean
Path
$GLOBALS['TCA'][$table]['columns'][$field]['config']
Scope
Display / Proc.
Default
false
Types
1 input, text

If set to true a non-empty value is required in the field. Otherwise the form cannot be saved.