1?) I limit the size to 16384 (16*1024) Kb. A file of 16476347 bytes will not be accepted. It is said as too big despite 16384 * 1024 = 16777216
In fact it appears that the file is uploaded on the server, just not included in the fabrik table.
2?) If I limit to 1 (or whatever) the number of files, the surplus, as expected, do not appear in the fabrik table
but in fact are uploaded on the server.
Also, when the limit is reached (1 in my case), if I'm not wrong, the upload a file button should disappear.
I obtain this with a Javascript plugin on load the element
In fact it appears that the file is uploaded on the server, just not included in the fabrik table.
2?) If I limit to 1 (or whatever) the number of files, the surplus, as expected, do not appear in the fabrik table
but in fact are uploaded on the server.
Also, when the limit is reached (1 in my case), if I'm not wrong, the upload a file button should disappear.
I obtain this with a Javascript plugin on load the element
Code:
jQuery(document).ready(function ()
{
var maxfiles = 1;
setInterval(function() {
if (jQuery('#mytablename_repeat___myelementname_dropList_container tr').length > 1 + maxfiles)
jQuery('#mytablename_repeat___myelementname_dropList_container > table > tfoot').hide();
else
jQuery('#mytablename_repeat___myelementname_dropList_container > table > tfoot').show();
}, 1000);
});
Last edited: