This was the answer!
^[a-zA-Z0-9_]{8}$
Thanks everybody!
Marisol.
-Mensaje original-
De: Kalcevich, Daniel [mailto:[EMAIL PROTECTED]
Enviado el: Martes, 25 de Abril de 2006 11:33 a.m.
Para: Struts Users Mailing List
Asunto: RE: Mask validation
Remove the {8} from the Mask and also
ECTED]
Enviado el: Martes, 25 de Abril de 2006 11:44 a.m.
Para: Struts Users Mailing List
Asunto: RE: Mask validation
You could use the minlength validation then as well, and then if you use
Struts HTML Tags, set the maxlength=8 on the text box. That way the
user would be required to entered in at least
that do what you are looking for?
Daniel
-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 25, 2006 7:40 AM
To: 'Struts Users Mailing List'
Subject: RE: Mask validation
I need to be 8 characters, nor more neither less...
-Mensaje origin
Really quickly. Here's a mask I am using. I allows A-Z, a-z and the
special characters, " ' ", " - " and " [Empty space] "
^[a-zA-Z\s'-]+$
I guess you can work off of it.
Harsh.
-Original Message-
From: Marisol Opreni [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 25, 2006 9:30 AM
To: '
I need to be 8 characters, nor more neither less...
-Mensaje original-
De: Kalcevich, Daniel [mailto:[EMAIL PROTECTED]
Enviado el: Martes, 25 de Abril de 2006 11:33 a.m.
Para: Struts Users Mailing List
Asunto: RE: Mask validation
Remove the {8} from the Mask and also include the
Remove the {8} from the Mask and also include the maxlength validation
on that field. Something like this:
maxlength
8
mask
^[a-zA-Z0-9\]*$
Daniel
-Original Message-
Fr
6 matches
Mail list logo