This topic is locked

Modifying validate.php

3/17/2006 11:22:22 AM
PHPRunner General questions
J
jackaroo author

I have incorporated a third-party DateTime picker in my application. I would like to validate the value in the associated form field, to test for time in addition to date, according to the format 'mm/dd/yyy HH:mm'. Would you be kind enough to help me with the necessary modification to 'validate.php' to effectively change the 'IsDate' functionality to 'IsDateTime'?
Thank you in advance.

Sergey Kornilov admin 3/20/2006

Jack,
IsDate validation accepts Date and Datetime values as well.

You son't need to modify anything.