Filefields

Hi

please how can i make a fileField not required, even when i delete the “required” rule it tells me ‘image can’t be blank’ thanks;

Hi.

I think you’re looking for allowEmpty

Hi you can try this


 array('image_name', 'file', 'allowEmpty' => TRUE,'types' => 'jpg, jpeg, gif, png'),