Previous Topic: dtlFormNext Topic: dtlHTMLEditbox


dtlHier

The dtlHier macro specifies a hierarchical lookup control on a detail form. In the edit view, a user can click the caption (header) of the control to pop up a hierarchical selection form.

This macro has the following properties:

attr=attributeName

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

autofill=yes|no

Specifies whether the field allows autofill when it is displayed as a lookup. Autofill lets a user enter a value in the field by typing the first few characters of a value and pressing Tab. These actions cause the product to perform one of the following actions:

Pop up a selection form when the specified value is missing or ambiguous.

colspan=1|number

Specifies the number of columns on the form.

common_name=attributeName

Specifies the name of the attribute from the referenced table that should be displayed on the detail form. This macro 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()\\\""

factory=name

Specifies the name of a Majic factory for the selection list. Defaults to the factory referenced by the associated attributes, and so is not typically required.

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.

size=20|number

Specifies the width of the input field.