Hi Bernard,
When I call form_errors(item.myfield) on an item within a collection
it doesn't display the validation error message that is associated
with that item. Instead the error messages display at the form
level. So in my example snippets the validation messages for fields
that belong to
.
On May 5, 12:31 pm, Mark Fullbrook mark.fullbr...@gmail.com wrote:
Hi Bernard,
When I call form_errors(item.myfield) on an item within a collection
it doesn't display the validation error message that is associated
with that item. Instead the error messages display at the form
level. So
.
On May 5, 1:21 pm, Mark Fullbrook mark.fullbr...@gmail.com wrote:
I have just changed the type of one of the item fields to money and
the validation errors being thrown by
NumberToLocalizedStringTransformer are being rendered by
{{ form_errors( item.price ) }}. So it's the validation errors
That is exactly how I have specified the labels for my forms and it
works for me. Have you upgraded to the latest Symfony code?
On May 2, 12:58 pm, Conrad conrad.barthel...@googlemail.com wrote:
I would like to customize my labels for my forms using the 'label' option of
a field, unfortunately
Hi,
I'm having great success with the new Form framework, except for the
CollectionType. My issue is that the errors are rendering for the
form {{ form_errors(form) }} and not the individual rows.
My Types:
class SpotResponseType extends AbstractType
{
public function buildForm(FormBuilder