Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 4920 invoked from network); 1 Oct 2003 01:57:17 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Oct 2003 01:57:17 -0000 Received: (qmail 76866 invoked by uid 500); 1 Oct 2003 01:56:54 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 76849 invoked by uid 500); 1 Oct 2003 01:56:54 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 76836 invoked from network); 1 Oct 2003 01:56:54 -0000 Received: from unknown (HELO web20714.mail.yahoo.com) (66.163.169.155) by daedalus.apache.org with SMTP; 1 Oct 2003 01:56:54 -0000 Message-ID: <20031001015703.90735.qmail@web20714.mail.yahoo.com> Received: from [12.252.55.153] by web20714.mail.yahoo.com via HTTP; Tue, 30 Sep 2003 18:57:03 PDT Date: Tue, 30 Sep 2003 18:57:03 -0700 (PDT) From: David Graham Subject: Re: [Validator] Bug with intRange JavaScript validator To: Jakarta Commons Users List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --- Marcelo Bello wrote: > Hi all, > > I've found a bug using the intRange JavaScript Validator. I have a > "month" field where the user is expected to type an integer in the range > > 1-12. But if the user types a number preceded by zero eg. 09, the > JavaScript validator will say that 09 is not in the range 1-12. > I haven't fixed it yet. I use Mozilla Firebird. > I use the version of validator that comes with struts 1.1. That is the correct behavior of intRange. You should use the mask validation to define your rule. David > > Regards, > > Marcelo Bello > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-user-help@jakarta.apache.org > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org