- if the checkbox optiono was enabled "After routing notify the next assigned user(s).", validate that the fields are not empty or not selected, for both options when Content Type is "Plain text" or "HTML Template". - We performed the validation of the Subject and Message and Template selected fields.
56 lines
3.1 KiB
HTML
Executable File
56 lines
3.1 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}');"> <div class="borderForm" style="width:{$form_width}; padding-left:0; padding-right:0; border-width:{$form_border};">
|
|
<div class="boxTop"><div class="a"></div><div class="b"></div><div class="c"></div></div>
|
|
<div class="content" style="height:{$form_height};" >
|
|
<table width="99%">
|
|
<tr>
|
|
<td valign='top'>
|
|
<input type="hidden" class="notValidateThisFields" name="__notValidateThisFields__" id="__notValidateThisFields__" value="{$form_objectRequiredFields}" />
|
|
<input type="hidden" name="DynaformRequiredFields" id="DynaformRequiredFields" value="{$form_objectRequiredFields}" />
|
|
<table cellspacing="0" cellpadding="0" border="0" width="100%">
|
|
<tr style="display: none">
|
|
<td colspan="2">{$form.TAS_UID}</td>
|
|
</tr>
|
|
<tr style="display: none">
|
|
<td colspan="2">{$form.INDEX}</td>
|
|
</tr>
|
|
<tr style="display: none">
|
|
<td colspan="2">{$form.IFORM}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class='FormLabel' width="{$form_labelWidth}"></td>
|
|
<td>{$form.SEND_EMAIL}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class='FormLabel' width="{$form_labelWidth}"><font color="red">* </font>{$TAS_DEF_SUBJECT_MESSAGE}</td>
|
|
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.TAS_DEF_SUBJECT_MESSAGE}
|
|
<input type="button" onclick="showDynaformsFormVars('form[TAS_DEF_SUBJECT_MESSAGE]', '../controls/varsAjax', '', '@#');return false;" value="@#">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class='FormLabel' width="{$form_labelWidth}">{$TAS_DEF_MESSAGE_TYPE}</td>
|
|
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.TAS_DEF_MESSAGE_TYPE}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class='FormLabel' width="{$form_labelWidth}"><font color="red">* </font>{$TAS_DEF_MESSAGE}</td>
|
|
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.TAS_DEF_MESSAGE}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class='FormLabel' width="{$form_labelWidth}">{$TAS_DEF_MESSAGE_TEMPLATE}</td>
|
|
<td class='FormFieldContent' width='{$form_fieldContentWidth}' >{$form.TAS_DEF_MESSAGE_TEMPLATE}</td>
|
|
</tr>
|
|
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</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>
|
|
<script type="text/javascript">
|
|
try {literal}{{/literal} dynaformSetFocus();}catch(e){literal}{{/literal}}
|
|
</script>
|
|
|