Another insight from another mailing list: http://lists.gnu.org/archive/html/classpath/2004-10/msg00090.html
You could also implement a pattern match range check on your input field, using cform functionality, without resorting to JS. see: http://localhost:8080/cocoon/docs/userdocs/forms/validation.html ( fd:range, or fd:regexp or even fd:javascript) I would think there must be on-line examples of date expressions? >>> [EMAIL PROTECTED] 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 Gunter Merico Raffaele < [EMAIL PROTECTED] > 07/12/2005 10:13 Please respond to users@cocoon.apache.org To users@cocoon.apache.org cc Subject 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 http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html CSIR Copyright, Terms and Conditions http://mail.csir.co.za/CSIR_Copyright.html 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]