/pimcore-formbuilder

Pimcore 5.x Formbuilder - create forms easily!

Primary LanguagePHPOtherNOASSERTION

Pimcore FormBuilder

Join the chat at https://gitter.im/pimcore/pimcore Software License Latest Release Scrutinizer Travis PhpStan

FormBuilder

Release Plan

Release Supported Pimcore Versions Supported Symfony Versions Release Date Maintained Branch
3.x 6.0 - 6.3 3.4, ^4.0 17.07.2019 Feature Branch dev-master
2.7 5.4, 5.5, 5.6, 5.7, 5.8 3.4 27.06.2019 Bugfix only 2.7
1.5 4.0 -- 18.03.2017 Unsupported pimcore4

Installation

"require" : {
    "dachcom-digital/formbuilder" : "~3.1.0"
}

Installation via Extension Manager

After you have installed the FormBuilder Bundle via composer, open pimcore backend and go to Tools => Extension:

  • Click the green + Button in Enable / Disable row
  • Click the green + Button in Install/Uninstall row

Installation via CommandLine

After you have installed the FormBuilder Bundle via composer:

  • Execute: $ bin/console pimcore:bundle:enable FormBuilderBundle
  • Execute: $ bin/console pimcore:bundle:install FormBuilderBundle

Upgrading

Upgrading via Extension Manager

After you have updated the FormBuilder Bundle via composer, open pimcore backend and go to Tools => Extension:

  • Click the green + Button in Update row

Upgrading via CommandLine

After you have updated the FormBuilder Bundle via composer:

  • Execute: $ bin/console pimcore:bundle:update FormBuilderBundle

Migrate via CommandLine

Does actually the same as the update command and preferred in CI-Workflow:

  • Execute: $ bin/console pimcore:migrations:migrate -b FormBuilderBundle

Usage

  1. Go to Settings => Form Builder Settings and create your form.
  2. Open a document and place the form area brick like any other bricks via drag and drop.
  3. Use the edit button at the right top corner to configure your form.

Also make sure you've included the flash template if you want to have some success messages after a redirect. It's also possible to render a form via Twig or even within a controller method. Click here to learn more about the form rendering types.

Overriding Templates

Nothing to tell here, it's just Symfony standard.

Further Information

Upgrade Info

Before updating, please check our upgrade notes!

Copyright and license

Copyright: DACHCOM.DIGITAL
For licensing details please visit LICENSE.md