Laurence,

Perhaps we missed connections here. In my answer to one of your other
validator questions, I mentioned the 'required="false"' attribute.

If you set the source and property values, then "required" to "false," it
will always validate that any entry is a proper zip code, and show the error
message. But it won't require a value for the field.

So if you place your custom validation, with the conditional code, in the
focusOut method, it should work.



-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560

Reply via email to