input (attribute of Template Tag)


Description


The input attribute enables inputting data and defining a source of data.


Examples


...

<text input="this.TotalValue" function="dwu" v_unit="this.Currency.Code" c_precision="2" />

<text input="this.TotalValue" format_using="dwu" v_unit="this.Currency.Code" c_precision="2" />

...


Text element, retrieving a value from the 'TotalValue' field of the document, outputting text formatted using the 'two' function, with the following parameters:

unit - taken from the data, from the Code field of the Currency object in the document (document currency code).

precision - taken from a constant which is equal to 2


<text input="issue_date" output="InvoiceDate"></text>