crdate

crdate
Type:string (field name)
Scope:Proc.

Field name, which is automatically set to the current timestamp when the record is created. Is never modified again. Typically the name “crdate” is used for that field. See tstamp example.

Examples

Common table control configuration

A common example of the control section

A common example of the control section

   'ctrl' => [ 
      'title' => 'Form engine - Common table control',
      'label' => 'title',
      'descriptionColumn' => 'description',
      'tstamp' => 'tstamp',
      'crdate' => 'crdate',
      'cruser_id' => 'cruser_id',
      'delete' => 'deleted',
      'sortby' => 'sorting',
      'default_sortby' => 'title',
      'versioningWS' => true,
      'rootLevel' => -1,
      'iconfile' => 'EXT:styleguide/Resources/Public/Icons/tx_styleguide.svg',
      'origUid' => 't3_origuid',
      'languageField' => 'sys_language_uid',
      'transOrigPointerField' => 'l10n_parent',
      'transOrigDiffSourceField' => 'l10n_diffsource',
      'translationSource' => 'l10n_source',
      'searchFields' => 'title,description',
      'enablecolumns' => [ 
         'disabled' => 'hidden',
         'starttime' => 'starttime',
         'endtime' => 'endtime',
      ],
   ],