By the way, that field that I gave as an example should only accept any of those 4 values. I think I need to use == rather than !=, but it doesn't work either way. Any ideas?
- Keith -----Original Message----- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 3:13 PM To: Struts (E-mail) Subject: Validator Syntax Hey everyone, I finally got the validator working! Turned out to be issues with the version of struts I was using or somthing like that. In any case, it's fixed. I'm slightly confused about this one statement in the online documentation. It says that "Only two items may be joined with and or or". Does that mean my example below is using the wrong syntax? I have a field that uses valid when, using the following check: <var> <var-name>test</var-name> <var-value>((*this* != "B") or (*this* != "I") or (*this* != "N") or (*this* != "T"))</var-value> </var> However, this field is accepting any value. Do you see any problem with this? Thanks in advance! - Keith --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]