I have created a form and I am trying to get an image to upload. I have the following set:
$this->add( 'file', // field type 'image_file', // field name 'Upload Image', // field label TRUE // is required );
However, when I submit the file it does not upload anywhere. Any ideas on what I am doing wrong?