Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Problem of image type input
 
LilySoft
Jr. Member
 
Avatar
Total Posts:  3
Joined:  2011-09-12
ShanDong
 

I found some problems when I develop a new modules. In the backend form, I can’t define a input element of image type to a required-entry, which is the mark of required ,I found the source in lib\Varien\Data\Form\Element\image.php line 67 is
this->setClass(’input-file’);
maybe it should be this->addClass(’input-file’); so that we can remain other classes in setting.

I found it all the same both in Magento 1.5 and 1.6 CE.
Is it a bug or not?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top