For example, I set start year 1995 and end year 1900. If I select a year, 1993 for example, it triggers a validation error:

"The entered date needs to be between the years 1995 and 1900."

Seems years have to be in

CommentFileSizeAuthor
#2 webform_reversible_dates.patch1.69 KBquicksketch

Comments

alexfisher’s picture

(opps, hit submit too soon)

...ascending order?

quicksketch’s picture

Version: 5.x-2.6 »
Status: Active » Fixed
StatusFileSize
new1.69 KB

I've fixed this in the 3.x version with the attached patch. At first I thought we should add validation to make sure that the "end" date is after the "start" date, but then I realized how useful it is to be able to flip the start and end dates to make them show up in reverse order, as it sounds like you may have been doing. The Drupal 5 version of Webform is now reaching end of life and it's unlikely that this change will be backported.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.