A collection of useful form types and extensions for Symfony2.
Note: Documenting these form types is an ongoing effort. We'd appreciate
any feedback, corrections additions you can provide.
Installation instructions can be found here.
The PolyCollection form type allows you to create a collection type
on a property where the relationship is to a polymorphic object structure
like Doctrine2's Single or Multi table inheritance.
For example, if you had an Invoice entity that had a relationship to an
entity that was using Doctrine inheritance
InvoiceLine and you wanted
to define multiple InvoiceLine types depending on what you wanted to invoice
you could use this form type to achieve a form collection that would support
all 4 types of
InvoiceLine inside the same collection.
For more information see the PolyCollection Documentation.
supports both the standard Symfony2 collection type and the PolyCollection type supplied
by this bundle.
For more information see the Collection Helper Documentation.
The CheckboxGrid form type allows editing many-to-many relationships with
a grid of checkboxes. It has handy shortcuts for Doctrine entities but can
also be used with arrays of regular objects.
For example, a company might sell multiple products, and operate in
different areas. Any of its salesmen could sell any combination of products
in areas. The salesman form needs a table of checkboxes where the rows are
products and the columns are areas (or vice versa!)
For more information see the CheckboxGrid Documentation.
InfiniteFormBundle comes with a Twig extension that adds form specific helpers
for use when rendering templates.
For more information see the Twig Helper.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
Merge pull request #19 from timbordemann/issue-18
By jmclean, 2 years ago
Replaces unknown parameter '%secret%' with '%kernel.secret%'
By , 2 years ago
Merge pull request #14 from fejese/cleanup-uses
By jmclean, 3 years ago
Clean up unused uses
By , 3 years ago
- Merge pull request #13 from jrobeson/patch-1
use psr-4 autoloader
By jrobeson, 3 years ago
- Revert "Add ABN Validator"
- Add ABN Validator
- Merge branch 'additional-documentation'
- Add twig helper documentation
- Fix documentation typo
- More collection tests
- Modified disabled support and tests
- Move test setup to a generic name
- Fix jenkins checking component directory
- Trigger event on row for removal
- Add note about read only event property
- Fix jenkins build failures
- Merge branch 'master' of github.com:infinite-networks/InfiniteFormBundle
- Merge pull request #1 from toaotc/patch-1
- Merge pull request #3 from stof/js_improvements
- Merge pull request #2 from stof/use_type_name
Made the listener use the configured type field name
By stof, 4 years ago
Made the parsing of the prototype HTML compatible with jQuery 1.9+
By stof, 4 years ago