Oracle Tips by Burleson
Like other item types in HTML DB, the text field
also has attributes:
The order in which the text field will be rendered. If there are
two text field items with the same sequence number, the order will
be when they were created. The sequence attribute is used to
control the form layout.
Specifies the label which will be associated with the text field.
This label can be displayed in many different positions, such as
Above, Right, Left, or Below the item depending on the choice.
This specifies the template of the label. Choices can be No Label,
Optional, Optional with Help, Required, and Required with Help. If
the template is Optional or Required, the label will be bolded. If
either with Help option is selected, the label will be underlined
and it will be a link to the help text for the field. Additionally,
if the option is Required, a icon will appear before the label to
indicate that the user must enter information in the field. How the
label is shown depends on the Application theme used.
: This is the region in which the button will be
rendered and displayed.
: This is additional text that can appear after the text
field. A good use for this is to display the units for a particular
value. For example, it might be useful to display pounds after a
Weight field or inches after a Height field.
: The width is the number of characters that will be
displayed in the field. The maximum width is the largest number of
characters that can be entered into the field. If the maximum width
is greater than the display width, the value will scroll in the
field up to the maximum width. Text fields can only be one
character in height.
The help text is used in conjunction with the Template described
above. The text entered into this attribute will be displayed when
a user clicks on a label that has been defined with the template of
with Help. Upon clicking the label, a popup box will appear showing
the help text. Figure 10.35 shows an example of what the popup box
for height might look like:
The above book excerpt is from:
Oracle Application Express
Dynamic Web Pages with OAE
Michael Cunningham & Kent Crotty