When I set Years back and forward: to 0:+2, it lets the users input dates for all of Jan 2009 - Dec 2011.
As far as I can tell, this module does not make it possible to set up a validation for dates to be only in the future or only in the past, because users can always enter any date from the current year.
I'd like to see Years back and forward: changed to Days back and forward: so validation for future and past dates can be handled.
Unless there is a solution I have overlooked?
Comments
Comment #1
denniemans commentedsame problem here, does anybody have an idea?
Comment #2
tobiberlinSubscribing
Comment #3
dooug commentedOops. I misinterpreted the original issue the first time I posted, I had a separate issue.
Comment #4
skizzo commentedSubscribing. As a stopgap solution, maybe someone can suggest the PHP evaluation code to be used with triggered Rules (CCK condition) so that only future dates are accepted...
Comment #5
suthy commentedI'm also having this issue... potentially. I need to clarify my client's specs, but I found this: http://www.econcepts.co.uk/snippets/adding-date-validation-only-future-d...
Maybe something similar could be implemented in a custom module's hook_form_alter() on the field which you're looking to enforce future dates?
Comment #6
manoloka commentedsubscribe
Comment #7
iRadev commentedSubscribing
Comment #8
cgdrupalkwk commentedI need this as well. Seems like it should be a simple.
Comment #9
cgdrupalkwk commentedI sponsored a fix for this as an added feature to the following module: http://drupal.org/project/field_validation
Thanks to http://drupal.org/user/174740 for his quick work!