Previous Topic: dtlRadioNext Topic: dtlShowtext


dtlReadonly

The dtlReadonly macro specifies a read-only textbox on an HTMPL detail form.

This macro has the following properties:

attr=attributeName

(Required) Specifies the name of the attribute associated with the control.

colspan=1|number

Specifies the number of columns on the form.

fmtfunc=name

Specifies the name of a JavaScript function that formats the field for display. The function is passed a single argument containing the value of the attribute, and must return a string that is displayed on the form.

hdr=text

Specifies the text of the caption on the control; defaults to the DISPLAY_NAME of the attribute associated with the control.

hdrclass=text

Specifies the CSS class used to format the caption. This property is not intended for customer use.

id=string

Specifies the JavaScript identification of the control. This property is not intended for customer use.

inline=yes|no

Specifies whether the header text and the data are on the same line, separated by a colon (:). Use this property only when attr="n/a".

value=value

Specifies the value displayed on the form when attr="n/a".