Let your users create dynamic forms and store them in the database.
Features:
- Create forms
- Add fields (register custom fields)
- Answer to a form
- View form results
For Symfony 2.1-RC1, use 1.1 tag
For a Symfony 2.0 compliant version, use 1.0 tag
Clone the project:
$ git submodule add -f git://github.com/Balloon/FormBuilderBundle.git vendor/bundles/Balloon/Bundle/FormBuilderBundleRegister the bundle in app/AppKernel.php:
<?phppublicfunctionregisterBundles()
{
returnarray(
// ..newBalloon\Bundle\FormBuilderBundle\BalloonFormBuilderBundle(),
// ..
);
}Register the namespace in your app/autoload.php:
<?php$loader->registerNamespaces(array(
// ...'Balloon\\Bundle\\FormBuilderBundle' => __DIR__.'/../vendor/bundles',
// ...
));Add this section to your app/config/config.yml file:
balloon_form_builder:
fields:
field:
label: ~required: falsemax_length: ~choice:
label: ~multiple: falseexpanded: falsechoices: {}country:
label: ~language:
label: ~timezone:
label: ~datetime:
label: ~date:
label: ~time:
label: ~checkbox:
label: ~Add this section to your app/config/routing.yml file:
balloon_form_builder:
resource: "@BalloonFormBuilderBundle/Resources/config/routing.yml"prefix: /formInit assets:
$ ./app/console assets:install web --symlinkAnd if you haven't a dedicated virtual host, add this to app/config/config.yml:
framwork:
templating:
assets_base_urls: "/balloon-form"Your done now go to /app_dev.php/form
List forms
Edit a form
Answer to a form
creator gordonslondon maintener [guillaumepotier]


