NovaFormBuilderBundle

UNIX name Owner Status
NovaFormBuilderBundle eZ Ecosystem stable
Version Compatible with
N/A N/A
A bundle to create dynamic symfony form

Novactive Form Builder

Branch

Travis build status

master

 

A bundle to create dynamic symfony form.

This bundle aims to provide a lib to help generating dynamic form in a symfony app.

It provides 2 bundles:

  • bundle the symfony bundle
  • ezbundle the bridge to use bundle in eZ Platforn

Note that eZ Platform is a pure symfony app then the bridge is just about wiring the IHM

Install

make installez
make serveez

Migrate DB from Ez Survey

The database of the old Ez Survey Bundle can be migrated to this Novactive Form Builder Bundle.
To do that run the following commands inside ezplatform folder:

php bin/console novaformbuilder:migrate --export
php bin/console novaformbuilder:migrate --import

The first one exports the data from the old database to json files.
The second one imports the data from json files to the new database.
After that the dumped data is still in the json files inside web/var/site/storage/files/forms folder.
They can be removed manually if they are not needed anymore.

What the migration script does is:
It takes all surveys to convert them into forms. Each of them is related to particular Ez content.
If more than one record have the same content_id the script takes the latest one due to the ID value.
Then it takes all questions to convert into fields and results + questions results to convert into submissions.

There is also the option to truncate the current Novactive Form Builder Bundle
tables in the database:

php bin/console novaformbuilder:migrate --clean

Contributing

Contributing

Change and License

License

Made with <3 by novactive.

No news yet.

This project has no reviews yet. Be the first one to review it!

No forum messages yet.