wrote:
> [...]
> I'm not a Java script programmer
I am not either, since there is no "Java script".
> but have this web page with a form form that includes a field to input an
> email address. My problem is that the validator won't allow addresses
> that include a '.' before the @ sign to
>
> be entered (such as john....@doman.com)
Your example address does not conform to RFC2822, the algorithm would
rightfully refuse it.
> It seems like (3>intIsDOT-intIsAT) || (4>intLengthA-intIsDOT)){
>
>
> may be causing the problem. Anyone have an idea that will allow me to
> screen out invalid addresses but still allow a . before the @? [...]
<http://groups.google.com/groups?q=valid+%22mail+address%22+group%3Acomp.lan g.javascript&start=0&scoring=d&>
> [overly complicated inefficient code that I refuse to review]
Ever heard of Regular Expressions? Supported since IE3 (August 1996),
NN4 (June 1997).
PointedEars