It seems hard to believe that no one ran across this before, but it appears that it's not possible to specify quotes in the criteria used for validwhen. I tried to use a criteria that looks like this: ((somefield == "foo") or (*this* < 123))
However that caused javascript errors on the page because the quotes don't get escaped in any way. I tried using a backslash to escape them, but the backslash itself gets escaped. I'm thinking that one workaround might be to change each quote character into this sequence: " + '"' + " which will probably get the javascript working, but I have a feeling that the java validwhen parser won't like that much. Not to mention that doing that would make the criteria unreadable. Is anyone else having this problem? Also, the nbaPointGuard example on the validator user's guide page is wrong. It has a '>' character when it should have '>'. Anyway, after all that, I realized that I can't do what I want with validwhen. I want to run one validation only if another fails. There doesn't seem to be any way to do that, is there? eric --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]