Wow that works perfectly - that will teach me to take a quick look at the
javadoc before asking  stuff like that again.  For the purpose of the rest
of the mailing list, this rule _does_ take precedence over the default
"Entry was not a valid integer" rule - makes me think my mask might have
been wrong?  Anyways, thanks a lot,

Luke

----- Original Message -----
From: "Thomas Vandahl" <[EMAIL PROTECTED]>
To: "'Turbine Users List'" <[EMAIL PROTECTED]>
Sent: Sunday, March 30, 2003 9:10 AM
Subject: RE: intake validate


> Hi Luke,
>
> > -----Original Message-----
> > From: Luke Majewski [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, March 30, 2003 5:29 AM
>
> > now I want my mask rule message to have precedence over the
> > automatic validation intake does, because I have a number of
> > integer fields on my form and the message "Entry is not a
> > valid integer" is not very informative... now I can do
> > something boring like check to see if my message is "Entry is
> > not a valid integer" and then just change the message myself
> > per each invalid field, but I would prefer that the mask
> > simply takes precedence over the auto stuff (otherwise why
> > write the mask rule anyways?). Anybody seen this before?
>
> There is another rule type that you can use for this. It is part of any
> NumberValidator derived class. Try adding something like
>
> <rule name="notANumberMessage">Bitte nur numerische Daten
> eingeben.</rule>
>
> to your int field and look if it works. It does for me.
>
> Bye, Thomas.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to