Closed (duplicate)
Project:
Date
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 May 2012 at 09:41 UTC
Updated:
8 Jan 2014 at 13:16 UTC
Jump to comment: Most recent
Comments
Comment #1
Paul B commentedIf the date is outside the range, the date/time is not converted to a string (done in date_popup_validate I believe).
If you have a form validation function that checks the date, it will suddenly see an array instead of a string for the date.
Comment #2
Paul B commentedAlso, this only adds validation to the date_popup, not to the date_text. I think both widgets should have validation, so both should have a year range setting.
Comment #3
Paul B commentedDuplicate of #88021: Support maximum and minimum values for dates