Previous Topic: dtlHierNext Topic: dtlLookup


dtlHTMLEditbox

The dtlHTMLEditbox macro defines an HTML edit field in a detail form.

This macro has the following properties:

attr=attributeName

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

bound=yes|no

Specifies whether the control is bound to an attribute.

className=value

Specifies a style sheet class.

colspan=1|number

Specifies the number of columns on the form.

escape=JS2|C|JS|HTML

Specifies how data is escaped in the read-only view. This property is not intended for customer use.

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.

make_required=YES|NO

Makes a field required when you specify YES regardless of whether the associated attribute is required at the object level. A required field forces the user to specify a nonblank value.

maxlength=number

Specifies the maximum length of the edit field.

optionid=string

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

persid=value

Specifies the persistent identifier of the object displayed in the edit field. This property is not intended for customer use.

preview=yes|no

Specifies whether the edit field supports Quick View mode.

readonly=yes|no

Specifies whether the HTML editor is read-only. This property is ignored unless bound=no.

rows=1|number

Specifies the number of rows on the form occupied by the textbox.

size=20|number

Specifies the width of the input field.

spellchk=yes|no

Specifies whether to display a Spell button next to the field label in the edit view.

tenant=value

Specifies the internal identification (UUID) of the tenant. This property is not intended for customer use.

tenantName=value

Specifies the name of the tenant. This property is not intended for customer use.

toolbar=default|reportcard|tmpl

Specifies the set of HTML editing tools displayed in the edit field. This property has the following possible values: