processmaker-builder
Version:
The gulp task runner for ProcessMaker building
32 lines (28 loc) • 828 B
text/xml
<dynaForm name="cases_AttachInputDocument3" type="xmlform" width="400px" labelWidth="100px" enableTemplate="1">
<TITLE1 type="title">
<en><![CDATA[Import Process]]></en>
</TITLE1>
<PROCESS_FILENAME type="file">
<en><![CDATA[File]]></en>
</PROCESS_FILENAME>
<SAVE type="button" onclick="verifyFile(this.form);">
<en><![CDATA[Import]]></en>
</SAVE>
<BTN_CANCEL type="button" onclick="cancel();">
<en><![CDATA[Cancel]]></en>
</BTN_CANCEL>
<JS type="javascript" replacetags="1"><![CDATA[
var verifyFile = function(oForm) {
if (document.getElementById('form[PROCESS_FILENAME]').value != '') {
oForm.submit();
}
else {
alert('@G::LoadTranslation(ID_SELECT_FILE_PM_IMPORT)');
}
};
function cancel(){
history.back();
}
]]></JS>
</dynaForm>