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 property=effectiveDate

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.