$element->freeze();
}
- $this->addElement('file', "file_id", ts('Upload Document'), 'size=30 maxlength=60');
+ $this->addElement('file', "file_id", ts('Upload Document'), 'size=30 maxlength=255');
$this->addUploadElement("file_id");
$this->add('text', 'msg_subject',
$form->add('select', 'document_type', ts('Document Type'), CRM_Core_SelectValues::documentFormat());
$documentTypes = implode(',', CRM_Core_SelectValues::documentApplicationType());
- $form->addElement('file', "document_file", 'Upload Document', 'size=30 maxlength=60 accept="' . $documentTypes . '"');
+ $form->addElement('file', "document_file", 'Upload Document', 'size=30 maxlength=255 accept="' . $documentTypes . '"');
$form->addUploadElement("document_file");
CRM_Mailing_BAO_Mailing::commonCompose($form);