Code Issue: Mostrar al usuario que ejecuta un caso el tipo de archivo a ser subido en un Input Document Cause: Al crear un nuevo Input Document se configura campo "Allowed file extensions" donde se determina el tipo de extension es permitodo y al hacer correr el caso al subir un Input Document no se muestra que tipo de extension se configuro. Solution: Cuando se ejecuta el caso al hacer click en "Attach", se mostrara un mensaje que determinar el tipo de extension de archivos permitidos.
71 lines
3.8 KiB
HTML
Executable File
71 lines
3.8 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 style="display: none;">
|
|
<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}">{$INP_DOC_SUPPORTED_EXTENSIONS_FILENAME_LABEL}</td>
|
|
<td class="FormFieldContent" width="{$form_fieldContentWidth}">{$form.INP_DOC_SUPPORTED_EXTENSIONS_FILENAME_LABEL}</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} {$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> |