PHPackages                             qbus/contao-configform-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. qbus/contao-configform-bundle

ActiveContao-bundle[Utility &amp; Helpers](/categories/utility)

qbus/contao-configform-bundle
=============================

Define forms using config files instead of the form generator.

0.3.0(7mo ago)0471LGPL-3.0+PHPPHP ^7.4 || ^8.1

Since Nov 28Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/qbus-agentur/contao-configform-bundle)[ Packagist](https://packagist.org/packages/qbus/contao-configform-bundle)[ RSS](/packages/qbus-contao-configform-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

Config Form extension for Contao
================================

[](#config-form-extension-for-contao)

Use config files instead of the form generator to define forms. This makes forms more easily portable.

The forms behave the same way Form Generator forms do because they are rendered, validated and processed by the Contao core. This means, for instance:

- Form hooks, like `compileFormFields` and `prepareFormData`, are available;
- Form settings like `sendViaEmail` can be used.

Example usage
-------------

[](#example-usage)

Create a config file `templates/[theme-name/]formconfig_contact.php`:

```
