This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.



You can find a recap of the useful PHP classes/functions in the chapter “PHP cheat-sheets”.

To create a form, you will have to use the following classes:

  • Form model

    Romm\Formz\Form\FormInterface — must be implemented by the model of your form.

  • Form validator

    Romm\Formz\Validation\Validator\Form\AbstractFormValidator — must be inherited by your form validator.

  • Validator

    Romm\Formz\Validation\Validator\AbstractValidator — must be inherited by your validators.

  • Behaviour

    Romm\Formz\Behaviours\AbstractBehaviour — must be inherited by your behaviours.