Thanks for the help that mask works,
but there seeems to be a conversion problem with integer values, when i
try to send the +1234 to an Integer Form Field ist gets nulled (without
error), 1234 or -1234 work just fine, Double Fields accept all three.
Sometimes I think my Machine wants to kick my
Thanks for the help that mask works,
but there seeems to be a conversion problem with integer values, when i
try to send the +1234 to an Integer Form Field ist gets nulled (without
error), 1234 or -1234 work just fine, Double Fields accept all three.
After having converted the
to
Thomas,
I agree with the escaping "+" (without escaping it is interpreted as
"must have one or more of the previous").
Also if you wanted you could use "\d" instead of "[0-9]".
A modified version that looks good is: ^(\+|-)?\d+$
This will match "x" or "+x" or "-x" (where x is any series of one
Seems like the Slashes got lost,
yes I tried that, but merely had any effect, the resulting error was the
same.
- Original-Nachricht
Von: Struts Users Mailing List <[EMAIL PROTECTED]>
An: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
Betreff: RE: Help on
have you tried escaping the + and -? [\+\-]
> -Original Message-
> From: Thomas Vogt [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 30, 2004 8:10 AM
> To: [EMAIL PROTECTED]
> Subject: Help on Validator MASK needed
>
>
> Hi, I would appreciate some help,
>
> My DynaValidator Form doesn'
5 matches
Mail list logo