Welcome Guest, Not a member yet? Register   Sign In
file input
#1

[eluser]boytun[/eluser]
Hello

I want know why this cause me an error:

Code:
$this->form_validation->set_rules('userfile'  'Document'  'required');

And Although the userfile is not empty , it show me an error tell me that this field is required

Thanks in advance
#2

[eluser]jairoh_[/eluser]
there should be comma
Code:
$this->form_validation->set_rules('userfile' , 'Document' ,'required');




Theme © iAndrew 2016 - Forum software by © MyBB