CakePHP 2.x Date Field Helper set year?

2013-08-07 Thread Eric Haskins
Hey everyone quick question. I have an app and Im having issues with Users setting birthdates to 2013-12-13 as an example. I know I should have a validator to make sure it isnt a future date but is there a way to seed the start year say 4 years ago? -- Like Us on FaceBook

Re: CakePHP 2.x Date Field Helper set year?

2013-08-07 Thread euromark
the rule stays the same, you just apply a different start value to check against. TODAY is the same as $startValue for your custom validation method anyway Am Mittwoch, 7. August 2013 20:06:50 UTC+2 schrieb Eric Haskins: Hey everyone quick question. I have an app and Im having issues