netzmacht / contao-subforms
Contao extension for using sub forms.
Installs: 34
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 0
Type:contao-module
Requires
- php: >=5.4
- contao-community-alliance/composer-plugin: ~2.0
- contao/core: >=3.3,<3.6-dev
- menatwork/contao-multicolumnwizard: ~3.2
Requires (Dev)
Conflicts
This package is auto-updated.
Last update: 2020-02-05 22:50:54 UTC
README
Features
This extension provides an easy way to include fields of subforms into a main form. So it is easy to use some parts of a form again or structure huge forms with many field much better.
This extension provides full support for the multipage forms, conditionalformfield and leads extension provided by terminal42.
Important: Support of the efg is not tested and won't be offically supported.
Requirements
The extension requires at least Contao 3.3 and PHP 5.4
Install
This extension can be installed using composer:
$ php composer.phar require netzmacht/contao-subforms:~1.0
Usage
-
Create the subforms you want to use in the main form. Please be aware that the field names are not prefixed. So they have to be unique in all subforms together!
-
Create the main form and a new form element: subform
-
If you use conao-leads the settings of the subform are ignored. You have to define them in the subform form element. Please be aware that if you use a master form which has to include all form elements which are used in the subforms.
-
If you use the multi page form extension you should create the page breaks in the main form. Otherwise it's not guaranteed if it works.