Re: Problems with "validwhen"

2005-11-13 Thread Mon Cab
Neat... Thanks Paul. I didn't realize that it was possible to nest multiple conditional statements (I read: "Only two items may be joined with and or or" in the documentation - which I am now assuming means only two items in any set of parens). --- Paul Benedict <[EMAIL PROTECTED]> wrote:

Re: Problems with "validwhen"

2005-11-13 Thread Mon Cab
Nice one. Thanks Lorie. It works now. --- Laurie Harper <[EMAIL PROTECTED]> wrote: > Mon Cab wrote: > > I am trying to use validwhen to make sure that > > validator only requires a valid State and Zip if > the > > country selected is "United States". > > > > But I am getting required error me

Re: Problems with "validwhen"

2005-11-12 Thread Paul Benedict
Mon, There's two conditions here. The State and Zip are valid (not required) when... Always look at this as "valid" not "required"; you need to list out the conditions which will make the validation pass. [1] the country is "United States" and *this* is not null [2] the country is not "United S

Re: Problems with "validwhen"

2005-11-12 Thread Laurie Harper
Mon Cab wrote: I am trying to use validwhen to make sure that validator only requires a valid State and Zip if the country selected is "United States". But I am getting required error messages from both state and zip when the form is submitted without these values. I am using the following con

Problems with "validwhen"

2005-11-12 Thread Mon Cab
I am trying to use validwhen to make sure that validator only requires a valid State and Zip if the country selected is "United States". But I am getting required error messages from both state and zip when the form is submitted without these values. I am using the following config for validato