Example Code of a Nongrid Form Applet Template
The following example code of a nongrid form applet template can run in Edit, New, and Query mode. An applet that runs in Base mode is similar except it does not contain the <div od-type="form"> tag. For more information, see Options to Control How the User Creates, Edits, Queries, and Deletes CRM Data.
<div od-type="control" id="1100">
<div class=CmdTxt>
<div od-property="FormattedHtml" hintText="Outside Applet Help Text"/>
</div>
<!--od section control close-->
</div>
<table class="AppletStyle1" width="100%" align="center">
<div od-type="form">
<tr>
<td colspan="2">
<div od-include ="CCTitle"/>
</td>
</tr>
<tr>
<td>
<div od-type="error">
<div od-property="FormattedHtml"/>
<!--od section error close-->
</div>
</td>
</tr>
<div od-prefix od-id=[1301:10] od-iterator="currentId">
<div od-type="control" od-id="od-attr-currentId" hintMapType="FormItem">
<tr valign="top">
<td class="scLabelRight">
<div od-property="RequiredIndicator" hintText="Required"/>
<div od-property="DisplayName" hintText="Label"/>
</td>
<td class="scField">
<div od-property="FormattedHtml" hintText="Field"/>
</td>
</tr>
<!--od section control close-->
</div>
<!--od section iterator close-->
</div>
<!--od section form close-->
</div>
</table>