Files
luos/workflow/engine/xmlform/processes/processes_New.xml
2011-09-05 12:47:25 -04:00

51 lines
1.2 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<dynaForm name="processes_New" width="500px" labelWidth="115px" mode="edit" enableTemplate="0">
<menuUser type="xmlmenu" xmlfile="processes/processes_NewOptions">
<en/>
</menuUser>
<TITLE1 type="title" group="1">
<en>Process Information</en>
</TITLE1>
<PRO_TITLE type="text" size="50" maxlength="255" defaultvalue="" required="1" group="1" dependentfields="" linkfield="" strto="" readonly="0" noshowingrid="0" readonlyingrid="0" totalizeable="0" sqlconnection="">
<en>Title</en>
</PRO_TITLE>
<PRO_DESCRIPTION type="textarea" rows="7" cols="60">
<en>Description</en>
</PRO_DESCRIPTION>
<PRO_TEMPLATE type="radiogroup" sqlconnection="dbarray">
SELECT * from ProcessesNew
<en>Template</en>
</PRO_TEMPLATE>
<SUBMIT type="button" onclick="verifyProcessInformation(this.form);" group="1">
<en>Save</en>
</SUBMIT>
<MESSAGE1 type="phpvariable"/>
<JS type="javascript" replacetags="1"><![CDATA[
var verifyProcessInformation = function(oForm)
{
var oAux;
var bContinue = true;
oAux = oForm.elements['form[PRO_TITLE]'];
if (oAux.value == '')
{
alert("@#MESSAGE1");
oAux.focus();
bContinue = false;
}
if (bContinue)
{
oForm.submit();
}
};
]]></JS>
</dynaForm>