Login Retreive lost passwordRegister
Search

Forum Index / Feedback / setValue of DateField

[ This topic is solved ]

  Md Emran Hasan 11 April 06 / 17:27  
Hi There,

Thanks for this great tool. I have started using it in a project on hand and its a super timesaver !!!

However, i found an error that is if you use setValue to set a value for the DateField, the year is not populated. I tracked it and found that line # 534 of class.DateField.php has the following line:

$y = date('y', $sValue );

If the 'y' is changed to 'Y' then it functions properly.

I guess this helps.

Thanks

Md Emran Hasan

  Teye Heimans (Founder) 12 April 06 / 10:03  
thanks! I've updated it!

  Top


powered by PHP-GLOBE   © 2004 - 2012 FormHandler. All rights reserved.   -   Open source license