Hi,
I have an upload image form field appearing in an html form - even if there are no image fields in the database table. If I output all fields by using print_r($fields) there doesn't seem to be any field there either - so I can't unset it.
Where is this field coming from?
Is an upload image form field included by default?
Thanks
Matt
Comments
Found it was due to this line -
$fields['image']['class'] = 'asset_select images/projects';
It was inserting the field for the image upload - even though I now no longer have an image field in the database.
....just posting in case it helps someone else!
Cheers,
Matt