Previous Topic: dtlCheckboxWithDescNext Topic: dtlDateDropdown


dtlDate

The dtlDate macro specifies a date control on an HTMPL detail form. A date control contains a date and time that can be edited with a date picker pop-up in the edit view of a detail form.

This macro has the following properties:

attr

Specifies the name of the attribute.

attr=attributeName

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

colspan=1|number

Specifies the number of columns 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.

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.

time=yes|no

Specifies whether the field contains both a date and time, or only a date.