Motorola CA50 Developer & User Manual page 293

Table of Contents

Advertisement

HTML Elements Contained in the Body Element (Continued)
Table 10-2
Element
<input type="submit" id="spinbox"
name="USERID" SpinBoxLabel="User ID"
SpinBoxLabelPos="beforespinbox"
ShowArrows="no"
SpinBoxLine="2"
SpinBoxMaskDigit ="?"
LeftBtnLbl ="Next#" RightBtnLbl ="Cancel"
/>
value="??-??-??"
CA50 Business Application Development 10 - 9
The spin box element allows the user to select a series of digits to
enter numeric information and submit this information to the server.
The left
key allows the user to move from one numeric digit to the
soft
next numeric digit and then wrap when at the last edit field. The Up
and Down keys allow the user to select from zero through nine for
each numeric digit which is designated by the "SpinBoxMaskDigit"
attribute characters within the "value" attribute. The right
cancels the spin box and posts an empty string as the value portion of
the name-value pair for this input element. The Select or Enter key
submits the name-value pair for this input element where the value is
the contents of the value attribute with each spin box mask digit
replaced with a numeric digit that the user keyed in. An explanation
and possible values for each attribute are explained below.
type
This is the standard HTML type attribute for HTML input elements.
id
This is the standard HTML id attribute for HTML input elements. The contents
of the value for this attribute must be "spin box".
name
This is the standard HTML name attribute for HTML input elements.
SpinBoxLabel
The contents of this attribute represents the label for the spin box. The
content for this attribute is up to the Business Application developer. There is
no label if this attribute is not detected for the spin box input element.
SpinBoxLabelPos
The contents of this attribute represents the spin box label position. The spin
box label can be on the line before, the same line, or after the spin box label.
Possible values for the "SpinBoxLablePos" attribute can be either
"beforespinbox", "sameasspinbox", or "afterspinbox".
The beforespinbox value inserts the spin box label on the line before
the spin box.
The sameasspinbox value inserts the spin box label on the same
line as the spin box which means that there is less space for the spin
box label.
The afterspinbox value inserts the spin box label on the line after the
spin box.
The default position for the label is the same line as the spin box if
the SpinBoxLabelPos attribute is not detected in the spin box input
element.
(continued)
Description
key
soft

Advertisement

Table of Contents
loading

Table of Contents