I would like to insert some custom text in a edit form, between 2 fields.
Here for exemple, inside the form i would like to insert a div right under the "highseason" input in which i would display with javascript in real time the high season price = price * highseason%.
protected function configureFormFields(FormMapper $formMapper)
{
$formMapper
->add('price')
->add('highseason', 'percent')
->add('lowseason', 'percent')
->end;
}
I cannot find a way to insert a custom field in the form that wouldn't be a field but just a text zone with a template and no field type or validation needed.