Welcome Guest, Not a member yet? Register   Sign In
Codeigniter form validation for file

I'm using codeigniter for my project and I need to read contents of files. So,I need validation to check whether the file is selected or not.

Here is my code in controller

  'Project Estimation File',
But while choosing a file it shows error saying - The Project Estimation File field is required

Need more information.

Have you set the correct form format? enctype='multipart/form-data'
Perhaps required is not suitable for file validation, use 'uploaded'

Theme © iAndrew 2016 - Forum software by © MyBB