Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Getting Problems In Validating Date

$
0
0
I am using
array('user_authen_info_bday','type','type'=>'date','dateFormat' => 'd-M-yyyy'),

this to validate a date in 1-1-2014 format but it is not working .. rules checks that date is blank or not but they are not checking it is valid or not. and yup one more point the in yiiactiveform there is also not rule for the valid date .. there is a rule for blank date but not for valid date.. :unsure: what i should do..? thanks in advance

Viewing all articles
Browse latest Browse all 18717

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>