Additional Details Tab Examples
Simple Single Page Form
This first example displays some information from the case and lets a case manager fill out and save some additional details.
The form design looks like this:
"Site" is a text field set as read-only. It's named
All of the
The remaining fields are simple input fields with some show-hide logic for the visit date. The form ends with the standard "Additional Information" snippet, which provides the buttons and workflow action field.
The form uses a simple custom read-only template, which generates the content displayed when the tab is first viewed:
<div class="icmformdata">
<table class="icmformdatapagetable">
<tbody>
<tr>
<td colspan="2" class="icmformdatacontainer">Site Details</td>
</tr>
<tr>
<td class="icmformdatalabel">Site</td>
<td class="icmformdatavalue">{{FIELD "SITE"}}</td>
</tr>
<tr>
<td class="icmformdatalabel">Site Manager</td>
<td class="icmformdatavalue">{{FIELD "SITEMANAGER"}}</td>
</tr>
<tr>
<td class="icmformdatalabel">Site Postcode</td>
<td class="icmformdatavalue">{{FIELD "FIELD3"}}</td>
</tr>
<tr>
<td class="icmformdatalabel">Visit Required?</td>
<td class="icmformdatavalue">{{FIELD "VISITREQUIRED"}}</td>
</tr>
</tbody>
</table>
<table class="icmformdatapagetable">
<tbody>
<tr>
<td class="icmformdatalabel">Visit date</td>
<td class="icmformdatavalue">{{FIELD "VISITDATE"}}</td>
</tr>
</tbody>
</table>
</div>