processmaker-builder
Version:
The gulp task runner for ProcessMaker building
39 lines (36 loc) • 1.08 kB
text/xml
<dynaForm name="pluginImport" type="xmlform" width="450px" labelWidth="100px" enableTemplate="1">
<TITLE1 type="title">
<en><![CDATA[New Skin]]></en>
</TITLE1>
<NAME type="text" size="48" maxlength="48" required="true">
<en><![CDATA[Skin Name]]></en>
</NAME>
<DESCRIPTION type="textarea" rows="5" cols="45">
<en><![CDATA[Description]]></en>
</DESCRIPTION>
<SAVE type="button" onclick="javascript:verifyName(this.form);">
<en><![CDATA[Continue]]></en>
</SAVE>
<BTN_CANCEL type="button" onclick="cancel();">
<en><![CDATA[Cancel]]></en>
</BTN_CANCEL>
<JS type="javascript" replacetags="1"><![CDATA[
var verifyName = function(oForm) {
oAux = getField('NAME');
if (oAux.value == '') {
new leimnud.module.app.alert().make({
label:'@G::LoadTranslation(ID_PLEASE_ENTER_REQUIRED_FIELDS)'
});
oAux.focus();
return;
}
else{
oForm.submit();
}
};
function cancel(){
window.location = 'skinsList';
}
]]></JS>
</dynaForm>