Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time

Using Presets

Presets are here to set some additional data for your custom forms (custom fields for example).


Your customer want's to add a special value (mostly dynamic data) to one or more but specific forms he has just made. Since all forms are dynamically created, you don't know the specific ids where to add all those values.

Presets will help you here: Create a preset and add some description to it. From now on, your customer is able to choose between presets within the dropped area element.

Things to know

  • If a preset gets selected, form builder will change the layout view to form/presets/your_preset_name.html.twig instead of form/default.html.twig.
  • Create a EventListener and add some specific data depending on the selected preset - regardless of the configured form.


            jobs: # keep it short and simple :)
                nice_name: 'Short Name'
                admin_description: 'Description of your Preset'
                    - ''
                    - ''