Previous Topic: cmdbMetadataNext Topic: dtlCheckboxReadonly


dtlCheckbox

The dtlCheckbox macro specifies a check box control on an HTMPL detail form. The control appears as follows:

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.

evt=”eventName=’script’”

Specifies one or more HTML event handlers in the same way you specify them in an HTML statement, with quotes escaped as required. For example:

evt="onclick='myfunc()' onchange=\\\"myfunc2()\\\""

hdr=text

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

off=0|text

Specifies the text displayed on a read-only form when the check box is not selected.

on=1|text

Specifies the text displayed on a read-only form when the check box is selected.

title=text

Specifies the title for screen reader users.