[REPOST] [Validator] REQUIREDIF Question

2003-02-14 Thread Jerry Jalenak
I'm reposting this in the hope that someone can tell what I'm doing wrong. I can't seem to figure out why this doesn't work. Any (and all) help is greatly appreciated I have a rather simple form with 4 fields on it. If the first field (patientId) is left blank, then the other three

RE: [REPOST] [Validator] REQUIREDIF Question

2003-02-14 Thread Sri Sankaran
if the requiredif logic is triggered Sri -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 8:38 AM To: '[EMAIL PROTECTED]' Subject: [REPOST] [Validator] REQUIREDIF Question I'm reposting this in the hope that someone can tell what I'm

RE: [REPOST] [Validator] REQUIREDIF Question

2003-02-14 Thread Jerry Jalenak
sure like to use the REQUIREDIF Jerry -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 8:35 AM To: Struts Users Mailing List Subject: RE: [REPOST] [Validator] REQUIREDIF Question Nothing out of the ordinary jumps out from what you

RE: [REPOST] [Validator] REQUIREDIF Question

2003-02-14 Thread Sri Sankaran
The only thing I can come up with is that the MASK processing is screwing things up some way One way to confirm that would be to remove the mask test. Jerry Sri - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: [REPOST] [Validator] REQUIREDIF Question

2003-02-14 Thread James Turner
To: '[EMAIL PROTECTED]' Subject: [REPOST] [Validator] REQUIREDIF Question I'm reposting this in the hope that someone can tell what I'm doing wrong. I can't seem to figure out why this doesn't work. Any (and all) help is greatly appreciated I have a rather simple form with 4

RE: [REPOST] [Validator] REQUIREDIF Question

2003-02-14 Thread James Turner
Users Mailing List' Subject: RE: [REPOST] [Validator] REQUIREDIF Question Sri - thanks for the reply. We have several other validations going on with this form-bean, so I'm confident that your first two items are OK. I've also pulled the 'REQUIREDIF' check out of the validation in question

RE: [REPOST] [Validator] REQUIREDIF Question

2003-02-14 Thread Jerry Jalenak
: [REPOST] [Validator] REQUIREDIF Question The problem, sir, lies not in your requiredif, but in your mask. When you say: var-value^[A-Za-z -']+$/var-value What you're literally saying is A to Z, a to z, and space to '. What you want to say is: var-value^[A-Za-z\ \-\']+$/var-value

[Validator] REQUIREDIF Question

2003-02-12 Thread Jerry Jalenak
Hi All, I have a rather simple form with 4 fields on it. If the first field (patientId) is left blank, then the other three fields (lastName, firstName, dob) are required. So, in struts-config I have snip form-bean name=UserInfo type=org.apache.struts.validator.DynaValidatorForm