cakephp validation required for files
I create form with input type file. I would lik开发者_运维百科e validate this field when is selected file.
Rule with 'require' doesn't work
i recommend using MeioUpload for uploading files. there are several parameter to adjust the behavior to your own needs. MeioUpload
精彩评论