Wednesday, August 7, 2013

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

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 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 https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate