Search by

hschottm / contao-textwizard

hschottm

contao-textwizard is a backend widget that can be used to add or edit a variable list of text input fields unlike the Contao listWizard widget. Additionally to the listWizard functionality contao-textwizard selects the content of a newly created or duplicated text field and it adds a button to creat

Package info

github.com/hschottm/textwizard

Type:contao-bundle

pkg:composer/hschottm/contao-textwizard

Statistics

Installs: 5 645

Dependents: 3

Suggesters: 0

Stars: 0

Open Issues: 0

3.6.5 2026-11-10 11:46 UTC

README

Contao Text Wizard

Latest Version on Packagist Installations via composer per month Installations via composer total

contao-textwizard

Contao backend widget for text list input

contao-textwizard is a backend widget that can be used to add or edit a variable list of text input fields unlike the Contao listWizard widget. Additionally to the listWizard functionality contao-textwizard selects the content of a newly created or duplicated text field and it adds a button to create an empty new text field.

textwizard

Requirements

  • PHP 8.3 or later
  • Contao 5.7 LTS (^5.7)

Use in the data container array (DCA)

'matrixrows' => array
(
  'label'                   => &$GLOBALS['TL_LANG']['tl_survey_question']['matrixrows'],
  'exclude'                 => true,
  'inputType'               => 'textwizard',
  'eval'                    => array(
    'allowHtml'             => true,
    'decodeEntities'        => true,
    'buttonTitles'          => array(
      'new'                 => $GLOBALS['TL_LANG']['tl_survey_question']['buttontitle_matrixrow_new'],
      'copy'                => $GLOBALS['TL_LANG']['tl_survey_question']['buttontitle_matrixrow_copy'],
      'delete'              => $GLOBALS['TL_LANG']['tl_survey_question']['buttontitle_matrixrow_delete']
    )
  ),
  'sql'                     => "blob NULL"
),

Changelog

See CHANGELOG.md for changes grouped by release tag.

Updating existing installations

After updating the extension, clear the Contao cache and reinstall the bundle assets:

vendor/bin/contao-console cache:clear
vendor/bin/contao-console assets:install public

Credits

Action icons are from Lucide 0.468.0. License notices are included in src/Resources/public/icons/lucide/LICENSE.

License

This extension is licensed under the GNU Lesser General Public License, version 3 or (at your option) any later version (LGPL-3.0-or-later). See LICENSE.

Bundled third-party assets retain their respective licenses and copyright notices.

Package icon

The scalable logo.svg combines text lines, a magic wand and a sparkle on an anthracite background with an orange corner, matching the extension family. For display in the Contao Manager, the logo is maintained separately in contao/package-metadata under meta/hschottm/contao-textwizard/logo.svg.