Re: Validate a field only if a checkbox is checked

2005-01-05 Thread jecrotea
This is simply to enable and disable filters. The users don't want to write something to search with a criteria, then erase it, search something else and then rewrite the first thing he entered. - Jean-Francois Croteau Se

Re: Validate a field only if a checkbox is checked

2005-01-04 Thread Wendy Smoak
From: <[EMAIL PROTECTED]> > The validation is more axed around the date format... I want to validate > the date format ONLY if the user checked the checkbox to active the filter > on that date. >From a user interface perspective, the checkbox is redundant. If they want to give you a date, they fi

RE: Validate a field only if a checkbox is checked

2005-01-04 Thread jecrotea
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 04, 2005 1:21 PM > To: Struts Users Mailing List > Subject: RE: Validate a field only if a checkbox is checked > >

RE: Validate a field only if a checkbox is checked

2005-01-04 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 04, 2005 1:21 PM > To: Struts Users Mailing List > Subject: RE: Validate a field only if a checkbox is checked > > > yes. It's the combination of the 2

RE: Validate a field only if a checkbox is checked

2005-01-04 Thread jecrotea
3 PM > To: Struts Users Mailing List > Subject: RE: Validate a field only if a checkbox is checked > > > I tried something like that, but it doesn't work. Other > ideas? I search all > the mailing list. I've seen a guy with almost the same problem as me, > excep

RE: Validate a field only if a checkbox is checked

2005-01-04 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 04, 2005 12:53 PM > To: Struts Users Mailing List > Subject: RE: Validate a field only if a checkbox is checked > > > I tried something like that, but it doesn&#

RE: Validate a field only if a checkbox is checked

2005-01-04 Thread jecrotea
gt; Sent: Tuesday, January 04, 2005 12:03 PM > To: user@struts.apache.org > Subject: Validate a field only if a checkbox is checked > > > > Hi, > I want to know, how can I validate a field that must > contains a date > with the DatePattern ONLY IF a ch

RE: Validate a field only if a checkbox is checked

2005-01-04 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 04, 2005 12:03 PM > To: user@struts.apache.org > Subject: Validate a field only if a checkbox is checked > > > > Hi, > I want to know, how ca

Validate a field only if a checkbox is checked

2005-01-04 Thread jecrotea
Hi, I want to know, how can I validate a field that must contains a date with the DatePattern ONLY IF a checkbox in my form is checked? For now, I have this, but it doesn't work at all: test (customerIdFlg == null)