required

New in version 12.0

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

required
Path

$GLOBALS['TCA'][$table]['columns'][$field]['config']

type

boolean

Scope

Display / Proc.

Default

false

Types

input, text

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