cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@free.fr
Subject Re: CForms validation integers
Date Tue, 31 Aug 2004 15:36:01 GMT
Quoting Superbiji <superbiji@gmail.com>:

> What's the error message?
>
> On Mon, 30 Aug 2004 21:33:12 +0200, defe <defe@free.fr> wrote:
> > hi,
> >
> > How can i simply make sure a user will only input numeric characters
> > in a text field?
> >
> > it does not completely works with the following:
> >
> > <fd:field id="foo" required="true">
> >     <fd:label>foo</fd:label>
> >     <fd:datatype base="integer"/>
> > </fd:field>
> >
> > thanks
> >

there's no error. i just noticed "1A" is not detected as a bad number, whereas
"A1" is.
So, do i need a specific validator to make sure i only get integers?

thanks



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message