PHP Classes

form_date_class

Recommend this page to a friend!

      PHP Forms Class with HTML Generator and JavaScript Validation  >  PHP Forms Class with HTML Generator and JavaScript Validation package blog  >  How to Show Google Ma...  >  All threads  >  form_date_class  >  (Un) Subscribe thread alerts  
Subject:form_date_class
Summary:Minor jscript bug if start and end date error messages are equal
Messages:2
Author:clive Turner
Date:2008-10-04 20:55:16
Update:2008-10-05 01:54:29
 

  1. form_date_class   Reply   Report abuse  
Picture of clive Turner clive Turner - 2008-10-04 20:55:16
If ValidationStartDateErrorMessage and ValidationEndDateErrorMessage are set to exactly the same value, I have found it generates a Javascript error.

Easy work around - just ensure messages are slightly different!


  2. Re: form_date_class   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2008-10-05 01:54:29 - In reply to message 1 from clive Turner
Yes, there was really a bug when generating Javascript to check validation errors in the same input with the same error message.

The bug is fixed and a new version was uploaded. Thank you for reporting.