[Vtigercrm-developers] Upload File
Alan Lord
alanslists at gmail.com
Thu Oct 10 07:34:19 UTC 2013
On 10/10/13 08:18, Commerce Pundit wrote:
> I want to create a field name Attachment in a Test module.
So look at how other modules achieve this in vtiger. (Products,
Documents...)
However, supporting the file upload UIType is not straightforward. It's
a UIType 69 but you will need to set the correct mimetype on the module
when in EditView. Hint:
> if (document.forms["EditView"]) {
> document.forms["EditView"].enctype = 'multipart/form-data';
> }
Al
More information about the vtigercrm-developers
mailing list