hschottm / contao-textwizard
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
Installs: 4 668
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Open Issues: 0
Type:contao-bundle
Requires
- php: ^8.1
- contao-community-alliance/composer-plugin: ~3.2
- contao/core-bundle: ^5.0
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
README
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.
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" ),