I hunted around, and managed to find some configuration settings for
the form validation that removed the arrow, and the non-breaking
space. It also allows you to customise the error classnames and the
id's, but not the object that is returned.


adding this to your modules config.php changes the messages...
<code>
sfConfig::add(
    array(

        // Form validation setup
        'sf_validation_error_prefix' => '',
        'sf_validation_error_suffix' => '',
        'sf_validation_error_class' => 'error_message',
        'sf_validation_error_id_prefix' => 'error_for_'
    )
);
</code>

The main problem facing now is form_error function being unmodular.
You can't specify a class or function to handle form errors, so your
stuck with symfony's built in error handling which is atrocious for
standards compliance.

I'll try and see if I can dig deeper to it, and perhaps I won't have
to hard code modifcations to the symfony code.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to