RE: [validator] requiredif based on a value

2003-04-04 Thread Raible, Matt

> So, you're saying that effectiveDate is requiredif state == 940?
> 

Yep.

> Try adding [0] to the end of the field* vars.
> 

That worked - thanks!  I've hacked together some client-side javascript for
this since there's not one in the validator natively - I'll try to work a
method up for equals.

Matt

> David
> 
> >Is it possible to require a field based on the value of 
> another field?  I
> >tried the following, but no dice:
> >
> >>  depends="requiredif">
> >
> >   
> >   
> > field
> > state
> >   
> >   
> > fieldTest
> > EQUAL
> >   
> >   
> > fieldValue
> > 940
> >   
> >   
> >
> >Thanks,
> >
> >Matt
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> 
> _
> Tired of spam? Get advanced junk mail protection with MSN 8. 
> http://join.msn.com/?page=features/junkmail
> 
> 
> -
> 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]



Re: [validator] requiredif based on a value

2003-04-04 Thread David Graham
So, you're saying that effectiveDate is requiredif state == 940?

Try adding [0] to the end of the field* vars.

David

Is it possible to require a field based on the value of another field?  I
tried the following, but no dice:
  
  
  
field
state
  
  
fieldTest
EQUAL
  
  
fieldValue
940
  
  
Thanks,

Matt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[validator] requiredif based on a value

2003-04-04 Thread Raible, Matt
Is it possible to require a field based on the value of another field?  I
tried the following, but no dice:

  

  
  
field
state
  
  
fieldTest
EQUAL
  
  
fieldValue
940
  
  

Thanks,

Matt


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]