XmlTF (variable name : value : length : disabled)
variable name = Constant or alphanumeric field (30A)
value = numeric field (6,0) HHMMSS
value = Length of display field (2.0) (optional)
*on/*off = Disable field (optional)


Return type:
Encoded XML string

Description:
XmlTF returns a HTML encoded display field in XML. This is a primary function for building fields to the browser.

This is normally used in conjunction with PutXmlRec function

Example:
Creates a field on the browser with the size of the value of the field

Eval string = xmlTF(‘time’:the_time)

Creates a field on the browser with the size 10

Eval string = xmlTF(‘date’:the_time:10)

Creates a field on the browser with the size of the field and disables it.

Eval string = xmlTF(‘date’:the_time:0:*off)

Functions in the statement are allowed, and often used.

Eval string = xmlTF(‘date’:now(‘t’) )

Notes and Restrictions:
The variable name is case sensitive.