PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Validate » Validate » Bug #5577

Allow date input as an array

Details

Request #5577Allow date input as an array
Submitted2005-10-01 11:33 UTC
Fromchris dot yates1 at btconnect dot com
Assignedpajoye
StatusWont fix
PackageValidate
PHP VersionIrrelevant
OSN/A
Roadmaps(Not assigned)

Comments

[2005-10-01 11:33 UTC] chris dot yates1 at btconnect dot com

Description:
------------
Allow date validation input to be an array. This allows validation directly from a HTML_QuickForm_date form element.

Test script:
---------------
Put this at the start of the date function

// Handle date as array
if (is_array($date)) {
$date = implode('-', $date);
}