You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Meyer, Christian" <Ch...@godyo.com> on 2004/07/07 16:20:27 UTC
Formvalidation decimal comma instead point
Hello,
I use cocoon 2.0.4 and I want validate numeric fields for a german
application. So I need to realize the test for numbers with comma instead
points. My system properties are set to de_DE.
Is there any other setting to realize that or should I need to change it to
string with a regular expression?
Thanks Christian
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Formvalidation decimal comma instead point
Posted by "John L. Webber" <Jo...@jentro.com>.
Hello Christian,
I may be wrong, but I don't believe the form validation logicsheet takes
locale into account for numeric types. So you'll probably either have to
use a regular expression, or perhaps write your own form validation
action that recognizes "112,95" as a legal double from a European user.
I hope anyone reading this corrects me if I'm wrong!
John
Meyer, Christian wrote:
> Hello,
>
> I use cocoon 2.0.4 and I want validate numeric fields for a german
> application. So I need to realize the test for numbers with comma instead
> points. My system properties are set to de_DE.
>
> Is there any other setting to realize that or should I need to change it to
> string with a regular expression?
>
--
---------------------------------------------------------
Jentro Technologies GmbH
John L. Webber, Software Development
---------------------------------------------------------
Rosenheimer Str. 145e 81671 München
Tel. +49 89 189 169 80 mailto:John.Webber@jentro.com
Fax +49 89 189 169 99 http://www.jentro.com
---------------------------------------------------------
NOTICE: The information contained in this e-mail is confidential or may
otherwise be legally privileged. It is intended for the named recipient
only. If you have received it in error, please notify us immediately by
reply or by calling the telephone number above and delete this message
and all its attachments without any use or further distribution of its
contents. Please note that any unauthorised review, copying, disclosing
or otherwise making use of the information is strictly prohibited. Thank
you.
---------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org