Previous Topic: dtlSurveyNext Topic: dtlWriteproperty


dtlTextbox

The dtlTextbox macro specifies a text field on a detail form. In the edit view, the field allows entry of free-form text.

This macro has the following properties:

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.

disp_entities=yes|no

Specifies whether to display HTML entities (for example, & or &#26237) in read-only view. If disp_entities=no, HTML entities are displayed exactly as entered; if disp_entities=yes, HTML entities are converted to their external value.

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.

id=string

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

JSButton=function()

Specifies a JavaScript function that creates a button next to the header of the control.

keeplinks=yes|no

Specifies whether HTML links (Action: tags) are displayed as links or formatted as raw text. Preserves HTML links when the text to display contains HTML links. The default value is no.

keeptags=yes|no

Specifies whether HTML tags are interpreted as HTML links or formatted as raw text. keeptags=yes overrides the keeplinks property.

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.

password=yes|no

Specifies whether the text field contains a password field. CA Service Desk Manager replaces passwords with a string of asterisks in both the edit and read-only views.

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.

srchknow=yes|no

Specifies whether to display a search knowledge button next to the field label.

title=text

Specifies the title for screen reader users.

value=text

Specifies the value to display when the value cannot be retrieved from the attribute.