Previous Topic: contactLookup

Next Topic: List Form Macros

dtlCheckboxReadonly

The dtlCheckboxReadonly macro specifies a readonly checkbox field on an HTMPL detail form. The macro has the following arguments:

detailCheckboxReadonly("&{hdr}","&{attr}",&{colspan},"$args.&{attr}", "&{on}", "&{off}");
hdr

Specifies the text of the header.

Default: "$args.&{attr}.DISPLAY_NAME"

attr

(Required) Specifies the name of the attribute.

on = "X"

Specifies the value shown on readonly form when field is checked.

off = ""

Specifies the value shown on readonly form when field not checked.

colspan = 1

Specifies the number of columns on the form.

On both the readonly and edit forms, the field is displayed as specified in "on" and "off" arguments.

Note: This macro is similar to dtlCheckbox.mac, except that it is always read-only, even in Edit mode.