asked on November 4, 2021
Greetings!
I have a custom HTML field on a form with the code which creates a table outline and places the detailed information into the body of the table by reading the HTML from a variable.
<table>
<thead>
<tr>
<th colspan="5" halign="center">------ Transaction -----</th>
<th colspan="3" halign="center">------ Sub Ledger ------</th>
</tr>
<tr>
<th>DATE</th>
<th>TYPE</th>
<th>NUMBER</th>
<th>DETAILS</th>
<th>AMOUNT</th>
<th>TYPE</th>
<th>NUMBER</th>
<th>DESCRIPTION</th>
</tr>
</thead>
<tbody>
{/dataset/TaxCodeDetails/TransactionDetails}
</tbody>
</table>
So far I have found 2 issues:
1. When I save the field, the details field code {/dataset/.../TransactionDetails} gets moved to the beginning of the code before the <table> tag.
2. The contents of the field is being escaped. e.g. <td> becomes >td<
I will note that this is inside of a collection, so that might be part of it.
Any ideas on how to get around these issues?
Thanks!
0
0