heimrichhannot/contao-field_value_copier

This simple module offers an input type for showing a giving the user the opportunity to copy a certain field value from another record. This is useful for fields that are very complex to configure.

Package info

github.com/heimrichhannot/contao-field_value_copier

Homepage

Issues

Type:contao-module

pkg:composer/heimrichhannot/contao-field_value_copier

Statistics

Installs: 818

Dependents: 1

Suggesters: 0

Stars: 0

1.0.3 2017-06-27 12:42 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

LGPL-3.0+ 85b9032525f861af133d438013c58b7c08c4170f

typeinputvaluefieldcontaocopycopierinputtype

This package is auto-updated.

Last update: 2026-06-24 08:09:09 UTC


README

This simple module offers an input type for showing a giving the user the opportunity to copy a certain field value from another record. This is useful for fields that are very complex to configure.

👁 Demo in the backend

Features

Technical instructions

Use the inputType "fieldValueCopier" for your field.

'someField' => array(
 // no label necessary
 'inputType' => 'fieldValueCopier',
 'eval' => array(
 'fieldValueCopier' => array(
 'table' => 'tl_my_dca',
 'field' => 'myField',
 'options_callback' => array('Namespace\SomeClass', 'getOptions')
 )
 )
)