That was my only thought to why it was setup that way.  My feeling is that
the form validation routine should be the one determining if a field is
required and error when empty and if not empty do the test using the
validation function.

But I guess that is the way it is so I won't fight it.

Thanks for the reply!

John

On 1/30/07, David E. Jones <[EMAIL PROTECTED]> wrote:


On Jan 30, 2007, at 8:18 AM, John Martin wrote:

> I really don't understand why ('' == valid email).  Could you
> explain why it
> is intentional that that sort of validation is intentional?

It isn't a valid email, but think about it from a perspective of
using that set of methods, not just the one.

How else would we have 2 different messages, one for being empty and
another for not being a validly formatted email address?

-David




Reply via email to