Tôi đang thiết tải lên tối đa filesize trong hình thức của tôi: $file = new Zend_Form_Element_File('file');
$file->setLabel('File to upload:')
->setRequired(true)
->addValidator('NotEmpty')
Tôi gặp sự cố, biểu mẫu Zend sau đây phát ra lỗi. Vấn đề là "tập tin" -element và sử dụng setElementDecorators. class Products_AddForm extends Zend_Form
{
function init() {
// other form