.. include:: ../../Includes.txt .. _integratorManual-viewHelpers: ViewHelpers =========== FormZ provides a set of ViewHelpers to help integration: - :ref:`formz:form ` Will initialize FormZ. It replaces the ViewHelper ``form`` provided by Extbase, and must absolutely be used. - :ref:`formz:field ` Renders a field of the form, by automatizing many processes. - :ref:`formz:option ` Defines the value of an option, which can be used later in the field rendering. - :ref:`formz:slot ` Defines a slot in the template of a field. - :ref:`formz:slot.render ` Launches the rendering of a slot defined in the template of a field. - :ref:`formz:slot.has ` Adds a condition that is verified if a slot has been defined. - :ref:`formz:formatMessage ` Will format a message returned by the validation of a field. - :ref:`formz:class ` Handles dynamically the CSS classes depending on the validity of a field: activates or deactivates CSS classes according to the result of the field validation. .. toctree:: :maxdepth: 5 :titlesonly: :hidden: FormViewHelper FieldViewHelper OptionViewHelper SlotViewHelper Slot/RenderViewHelper Slot/HasViewHelper FormatMessageViewHelper ClassViewHelper