07-21-2011, 06:12 PM
(07-20-2011, 05:09 PM)steinm Wrote: It will be part of the next release. If _strictFormCheck in the settings is set to false it will no longer ask for a name.
If you want to fix it in your local copy, just comment out the line
if (document.form1.name.value == "") msg += "<?php printMLText("js_no_name");?>\n";
in out/out.AddDocument.php.
The code itself for uploading a document can handle missing names, but the form validation will not allow to submit the form. If the above line is taken out, it should work.
Uwe
Sorry, i forget to copy one small part of code about this from function checkForm()
Quote:if(!document.form1.name.disabled){
if (document.form1.name.value == "") msg += "<?php printMLText("js_no_name");?>\n";
}
"Whatever you do, work at it with all your heart, as working for the Lord, not for human masters". Kol.3:23