Files
luos/workflow/engine/xmlform/cases/cases_AttachInputDocumentGeneral.html
Luis Fernando Saisa Lopez 42f06bce9f BUG 10957 "Feature request - Limit input document..." SOLVED
- Feature request - Limit input document maximum size
- Problema resuelto, al crear un nuevo Input Document se ha adicionado un nuevo campo "Maximum file size" y un dropdown
  que determina la unidad de medida en "KB y MB", esto permite definir el limite del tamañel archivo a anexar.
  Cuando se ejectua el caso al hacer click en "Attach", se muestra el tamañaximo que se puede adjuntar el archivo si es
  mayor	al limite se mostrara un mensaje; asi tambien si se tiene un file asocioado a un input document al igual que lo
  anterior se mostrara un mensaje.
2014-09-15 12:09:31 -04:00

65 lines
3.5 KiB
HTML
Executable File

<form id="{$form_id}" name="{$form_name}" action="{$form_action}" class="{$form_className}" method="post" encType="multipart/form-data" style="margin:0px;" onsubmit='return validateForm("{$form_objectRequiredFields}".parseJSON());'>
<div class="borderForm" style="padding-left: 0pt; padding-right: 0pt;">
<div class="boxTop"><div class="a"></div><div class="b"></div><div class="c"></div></div>
<div class="content" style="">
<table width="99%">
<tbody><tr>
<td valign="top">
<input class="notValidateThisFields" name="__notValidateThisFields__" id="__notValidateThisFields__" value="" type="hidden">
<input name="DynaformRequiredFields" id="DynaformRequiredFields" value="{$form_objectRequiredFields}" type="hidden">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody><tr style="display: none;">
<td colspan="2">{$form.APP_DOC_TYPE}</td>
</tr>
<tr style="display: none;">
<td colspan="2">
{$form.DOC_UID}
{$form.INP_DOC_MAX_FILESIZE}
</td>
</tr>
<tr style="display: none;">
<td colspan="2">{$form.APP_DOC_UID}</td>
</tr>
<tr style="display: none;">
<td colspan="2">{$form.actionType}</td>
</tr>
<tr style="display: none;">
<td colspan="2">{$form.docVersion}</td>
</tr>
<tr style="display: none;">
<td colspan="2">{$form.fileTypes}</td>
</tr>
<tr>
<td class="FormLabel" width="{$form_labelWidth}">{$INP_DOC_MAX_FILESIZE_LABEL}</td>
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.INP_DOC_MAX_FILESIZE_LABEL}</td>
</tr>
<tr>
<td class="FormLabel" width="{$form_labelWidth}">{$APP_DOC_FILENAME}</td>
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.APP_DOC_FILENAME} </td> //-->
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.APP_DOC_FILENAME}</td>
</tr>
<tr>
<td class="FormLabel" width="{$form_labelWidth}">{$APP_DOC_COMMENT}</td>
<!-- <td class='FormFieldContent' width="{$form_width}" >{$form.APP_DOC_COMMENT} </td> //-->
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.APP_DOC_COMMENT}</td>
</tr>
<tr style="display: none;">
<td colspan="2">{$form.MORE}</td>
</tr>
<tr>
<td class="FormButton" colspan="2" align="center"><br/> {$form.SAVE} &nbsp; {$form.BTN_CANCEL}</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
</div>
<div class="boxBottom"><div class="a"></div><div class="b"></div><div class="c"></div></div>
</div>
<script type="text/javascript">
{$form.JS}
</script>
</form>