Library · Code examples

Gist title Gist summary

Reusable FlexForms / Use FlexForms from Partials

Content, Pages, Forms

FluidTYPO3.Flux, FluidTYPO3.Fluidpages

If you want to split long FlexForm definitions into multiple partials and use them in other templates, here is the way to go!

Subclassing Flux Form to create new Form types

Forms, Provider


Example of how to create a simple subclass of \FluidTYPO3\Flux\Form and utilise the initializeObject method to create new fields upon Form instance creation. Also includes an example on how to use a Provider to return different Form instances based on arbitrary values.