ipu2vq
Last Updated: February 25, 2016
·
224
· kpyorala
None

Custom error messages in Silex

$form = $app['form.factory']
    ->createBuilder('form')
    ->add('email', 'text', array(
        'constraints' => new Assert\Email(array(
            'message' => 'Your custom message'
        ))
    ))
Say Thanks
Respond