As you know, the file upload field cannot be validated via standard Yii ajax validation.
But if I simply use server-side with resubmit, browsed file is missing.
I don’t want to run the ajaxupload extension and I’m thinking for one solution, but I’m not sure that it’s possible.
The idea is to run AJAX validation with no rules for the file field.
And after validation is complete without errors, the file field to be validated from the PHP and if there is error, to reload the form with needed non ajax validation.
Is it possible?
And if someone have solution for this will be great.