<?xml version="1.0" encoding="UTF-8"?>
<dynaForm name="processes_UploadFilesForm" type="xmlform" width="100%" height="75%" labelWidth="30%">
  <TITLE1 type="title">
    <en><![CDATA[Upload Files]]></en>
  </TITLE1>
  <PRO_UID type="hidden"/>
  <MAIN_DIRECTORY type="hidden"/>
  <CURRENT_DIRECTORY type="hidden"/>
  <FILENAME1 type="file">
    <en><![CDATA[File 1]]></en>
  </FILENAME1>
  <FILENAME2 type="file">
    <en><![CDATA[File 2]]></en>
  </FILENAME2>
  <FILENAME3 type="file">
    <en><![CDATA[File 3]]></en>
  </FILENAME3>
  <FILENAME4 type="file">
    <en><![CDATA[File 4]]></en>
  </FILENAME4>
  <FILENAME5 type="file">
    <en><![CDATA[File 5]]></en>
  </FILENAME5>
  <UPLOAD type="button" onclick="verifyUploadFiles(this.form);">
    <en><![CDATA[Upload]]></en>
  </UPLOAD>
  <JS type="javascript"><![CDATA[

var verifyUploadFiles = function(oForm) {
  var bContinue = false;
  if (document.getElementById('form[FILENAME1]').value != '') {
    bContinue = true;
  }
  if (document.getElementById('form[FILENAME2]').value != '') {
    bContinue = true;
  }
  if (document.getElementById('form[FILENAME3]').value != '') {
    bContinue = true;
  }
  if (document.getElementById('form[FILENAME4]').value != '') {
    bContinue = true;
  }
  if (document.getElementById('form[FILENAME5]').value != '') {
    bContinue = true;
  }
  if (bContinue) {
    oForm.submit();
  }
  else {
    alert('@G::LoadTranslation(ID_PLEASE_SELECT_FILES_TO_UPLOAD)');
  }
};

]]></JS>
</dynaForm>
