getelement(fdef,idx)

Parameters

- fdef form field definition or just field name

- idx the index of the element in a multi form

Get the value stored in an element. This is usually the innerhtml value as elements are used for dynamic live text in a page. A dynamic live text id defined by a data-live attribute in a html element.

<div data-tablename="Contacts" data-formdataaction="first">
<p data-live="MyName"></p>
</div>

A typical live element in single form

<div data-tablename="Contacts" data-formtype="multi" data-formdataaction="first">
<table>
<tr id="Conctacts_0">
<td id="MyName_0" data-live="MyName"></td>
</table>
</div>

A typical live element in a multi form