Dynamic Table API

This document contains the Dynamic table field API format, attributes, and an example.

Dynamic table

<table class=”table-stripped” name=”string” autoNumbering=”boolean” iterable=”true” roleId=”id”></table>

Dynamic Table attributes

  • class — define if it’s dynamic table table-stripped.

  • name — string, length from 1 up to 128 symbols, restricted symbols &, “, <, >, field name used to fill in on envelope, unique for document, mandatory attribute.

  • roleId — id of the role who should fill field on envelope, mandatory attribute.

  • autoNumbering — boolean, defines if rows would be numbered, default value false if not set, optional attribute.

  • iterable — should be true.

Example of dynamic table with field inside

<div class="editor-table-field-wrapper">
    <table class="table-stripped" name="string" roleId="id" autoNumbering="boolean" iterable="true">
        <colgroup>
            <col width="325.5px"/>
            <col width="325.5px"/>
        </colgroup>
        <thead>
            <tr>
                <th>
                    <div class="editor-div">Column name</div>
                </th>
                <th>
                    <div class="editor-div">Column name</div>
                </th>
            </tr>
        </thead>
        <tbody>
            <tr iterable="true" name="*">
                <td>
                    <div class="editor-div">
                        <field type="text" name="string" roleId=\"id\"/>
                        <br/>
                    </div>
                </td>
                <td>
                    <div class="editor-div">
                        <br/>
                    </div>
                </td>
            </tr>
        </tbody>
    </table>
</div>