, 2004 3:26 PM
To: [EMAIL PROTECTED]
Subject: Re: validation - mask help
Peng, Meimin wrote:
> Thanks.
>
> I just make it work by doing this.
>
> ^[0-9a-zA-Z-\-]*$
>
> I couldn't find info on any strut books. But, here is the original
> validation package. Cheers!
>
>
Peng, Meimin wrote:
Thanks.
I just make it work by doing this.
^[0-9a-zA-Z-\-]*$
I couldn't find info on any strut books. But, here is the original
validation package. Cheers!
http://jakarta.apache.org/regexp/apidocs/org/apache/regexp/RE.html
That will allow any number of '-' signs to be valid:
'--
D] On Behalf Of Jeff Beal
Sent: Friday, October 01, 2004 1:25 PM
To: [EMAIL PROTECTED]
Subject: Re: validation - mask help
Peng, Meimin wrote:
> Hi,
> Please help.
> I want to use strut's validation to validate a form field called number.
> This field allows to input text, numbe
Peng, Meimin wrote:
Hi,
Please help.
I want to use strut's validation to validate a form field called number.
This field allows to input text, number and -.
The code bellows right now is only to validate text and number without
space.
How can I make it work with '-'?
Thanks.
Yeah. I know.
But, I can't do anything about it.
It attaches to all my outgoing emails automatically.
-Original Message-
From: Brantley Hobbs [mailto:[EMAIL PROTECTED]
Sent: Friday, October 01, 2004 12:54 PM
To: Struts Users Mailing List
Subject: OT - RE: validation - mask
> CONFIDENTIALITY NOTICE: The information in this e-mail is privileged
and
> confidential. Any use, copying or dissemination of any portion of
this
> e-mail by or to anyone other than the intended recipient(s) is
> unauthorized.
> If you have received this e-mail in error, please reply to sender
When you only want one (1) of something follow with a question mark "?"
i.e. [A-Za-z]?
OK
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 3:34 PM
To: [EMAIL PROTECTED]
Subject: RE: Validation Mask help please
try somethi
to end
-Ram
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 2:39 PM
To: [EMAIL PROTECTED]
Subject: RE: Validation Mask help please
What is the $ for?
I know the ^ is to start at the beginning.
-Original Message-
From: [EMAIL
What is the $ for?
I know the ^ is to start at the beginning.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 12:34 PM
To: [EMAIL PROTECTED]
Subject: RE: Validation Mask help please
try something like [a-zA-Z][0-9]{4}-\d{3}
-Ram
Thanks!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 12:39 PM
To: [EMAIL PROTECTED]
Subject: RE: Validation Mask help please
http://www.weitz.de/regex-coach/ might be useful
-Ram
-Original Message-
From: [EMAIL PROTECTED
http://www.weitz.de/regex-coach/ might be useful
-Ram
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 2:34 PM
To: [EMAIL PROTECTED]
Subject: RE: Validation Mask help please
try something like [a-zA-Z][0-9]{4}-\d{3}
-Ram
try something like [a-zA-Z][0-9]{4}-\d{3}
-Ram
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 2:06 PM
To: [EMAIL PROTECTED]
Subject: Validation Mask help please
I have the following field validation:
mask
^[A-Za-z]\d{4}-\d{3
Off the top of my head, you may need to escape the hyphen, ie. \-
Saul
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 24, 2004 3:06 PM
> To: [EMAIL PROTECTED]
> Subject: Validation Mask help please
>
>
> I have the following field val
13 matches
Mail list logo