https://github.com/wisembly/formbuilderbundle
Store your custom forms as Doctrine entities
https://github.com/wisembly/formbuilderbundle
Last synced: 11 months ago
JSON representation
Store your custom forms as Doctrine entities
- Host: GitHub
- URL: https://github.com/wisembly/formbuilderbundle
- Owner: Wisembly
- License: mit
- Created: 2011-11-08T09:47:33.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-08-20T09:09:07.000Z (over 13 years ago)
- Last Synced: 2025-04-03T20:37:36.232Z (12 months ago)
- Language: PHP
- Homepage:
- Size: 282 KB
- Stars: 45
- Watchers: 21
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### /!\This bundle has not been updated to Symfony 2.1-RC2+ and is no longer maintained by Balloon/!\
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
## Requirements :
For Symfony 2.1-RC1, use 1.1 tag
For a Symfony 2.0 compliant version, use 1.0 tag
## Installation (for 2.0 and 2.1-RC1 use, without composer)
Clone the project:
```bash
$ git submodule add -f git://github.com/Balloon/FormBuilderBundle.git vendor/bundles/Balloon/Bundle/FormBuilderBundle
```
Register the bundle in `app/AppKernel.php`:
```php
registerNamespaces(array(
// ...
'Balloon\\Bundle\\FormBuilderBundle' => __DIR__.'/../vendor/bundles',
// ...
));
```
Add this section to your `app/config/config.yml` file:
```yaml
balloon_form_builder:
fields:
field:
label: ~
required: false
max_length: ~
choice:
label: ~
multiple: false
expanded: false
choices: {}
country:
label: ~
language:
label: ~
timezone:
label: ~
datetime:
label: ~
date:
label: ~
time:
label: ~
checkbox:
label: ~
```
Add this section to your `app/config/routing.yml` file:
```yaml
balloon_form_builder:
resource: "@BalloonFormBuilderBundle/Resources/config/routing.yml"
prefix: /form
```
Init assets:
```bash
$ ./app/console assets:install web --symlink
```
And if you haven't a dedicated virtual host, add this to `app/config/config.yml`:
```yaml
framwork:
templating:
assets_base_urls: "/balloon-form"
```
Your done now go to `/app_dev.php/form`
## Screenshots

List forms

Edit a form

Answer to a form
## Contributors
creator [gordonslondon](http://github.com/gordonslondon)
maintener [guillaumepotier]