Re: Help on Validator MASK needed

2004-08-04 Thread Thomas Vogt
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

Re: Help on Validator MASK needed

2004-07-31 Thread [EMAIL PROTECTED]
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

RE: Help on Validator MASK needed

2004-07-30 Thread Robert Miller
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

AW: RE: Help on Validator MASK needed

2004-07-30 Thread Thomas Vogt
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

RE: Help on Validator MASK needed

2004-07-30 Thread Jarnot Voytek Contr AU/SC
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'