When trying to validate an email address, many different validation messages
can appear depending on what the user enters. For example, if a user enters
"[EMAIL PROTECTED]" (without the quotes), we get the following validation
messages:
* 'test.' is not a valid hostname for email address '[EMAIL PROTECTED]'
* 'test.' appears to be a DNS hostname but cannot extract TLD part
* 'test.' does not appear to be a valid local network name
* 'test.' appears to be a local network name but local network names are
not allowed
While this amount of detail can be very useful in some cases, it really
isn't when trying to display user-friendly messages in a form.
Is there a way to limit the messages to something simple like "The email
address you entered is incorrect."?
Thanks.
--
View this message in context:
http://www.nabble.com/Zend_Form-validation-messages-tp16467524p16467524.html
Sent from the Zend Framework mailing list archive at Nabble.com.