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… what i should do…? thanks in advance
actually i am taking values day month and year separately by dropdownfield and by jquery i am getting the value of user_authen_info_bday … may be it can be the reason why it is not working… if its the reason then the checking of date is blank or not should also not work but it is working perfactly…
should i have to use regex for it…?
and also one more question d-M-yyyy format can be checked…?