cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject Re: cform date validation
Date Wed, 07 Dec 2005 09:58:20 GMT
Another insight from another mailing list: 

You could also implement a pattern match range check on 
your input field, using cform functionality, without resorting to JS.
( fd:range, or fd:regexp or even fd:javascript)
I would think there must be on-line examples of date expressions?

>>> 2005/12/07 11:18 AM >>>
have the same issue with cocoon 2.1.4 and apparrently the java.util.Date 
class accepts this (as far as I know) so the only thing that you can do 
(as what I did) is to implement a clientside date validation; you can find 
plenty examples on the net but if you want I can easily drop one here


Merico Raffaele < > 
07/12/2005 10:13
Please respond to 


cform date validation
Dear community

I have a strange effect with cform date fields. Values like 32.12.2005 or
29.2.2005 are automatically corrected to 1.1.2006 or 1.3.2005 without any
validation error. What can I do to let the cform validation service 
declare such dates as incorrect? 

For your support many thanks in advance ... Raffaele

This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
CSIR E-mail Legal Notice 
CSIR Copyright, Terms and Conditions 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message