String |
This is the default format. Allows
users to enter alphanumeric text strings. |
Number |
Allows users to enter numbers. If
you choose Number, you can set the following number properties on the panel:- Type: Choose Decimal, Currency, Percent, or Custom. If you choose Custom,
you can customize the number style. For example, with 0.00%, you can use decimals
in percentages.
- Input assistance - Show helper button: Check Show helper button if
you want to add a spinner or a slider to help the user choose a number. A
spinner lets the user select a value by using arrows to increase or decrease
the value. A slider lets the user enter a value within a range. For both helpers,
you can also specify an Increment. For example, if you enter 10 as the increment,
the slider or spinner increments the number by 10. This option is useful if
you have large numbers. You can also specify upper and lower boundaries for
the for both spinner and slider
- Show prompt character: Enables automatic formatting of input numbers on
the browser. For example, if the user enter a number such as 1234567, the
comma is automatically inserted in the appropriate places: 1,234,567. You
can choose from among several prompt characters. Checking this property also
causes a prompt character to be displayed when you run on server.
Note: Automatic
formatting does not work for custom formatting using Exponential notation.
Note: When
creating a custom number pattern and selecting the Auto-advance
to next field option on the Behavior tab, the maximum number of
digits entered is independent of the sign (positive or negative) of the number.
The automatic advance function assumes that the number may be negative and
will not automatically advance until an additional digit is entered. For example,
if the custom number pattern is set to ####, a user can enter 1234 (a positive
four digit number) or -1234 (a negative four digit number). Therefore when
the user enters a 4 digit positive number, the user will not be automatically
advanced to the next field after the fourth digit is entered. If this is not
the desired behavior, click Show prompt character on
the inputText tab of the Properties view.
|
Date/Time |
Allows users to enter a date,
time, or both. If you choose Date/Time, you can set the following attributes:- Type: Choose Date only, Time only, or Both from the list.
- Date style: Sets the style for the date. For example: Apr 2, 2004. If
you choose Custom, you can set a custom date style pattern in the Pattern field.
- Time style: Sets the style for the date. For example: 11:29:48 PM. If
you choose Custom, you can set a custom time style pattern in the Pattern field.
- Input assistance: Check Show helper button to add
a calendar helper (if you chose Date) or clock helper (if you chose Time)
for the user. If you add a clock helper, you can also set an increment.
- Show prompt character: Enables automatic formatting of input dates on
the browser. For example, the input date may be shown as "__/__/____". The
underscore character ( _ ) is replaced as the user enters the date.
- Prompt character: Replace the default underscore character ( _ ) with
the character that you specify here.
|
Mask |
Sets up a mask to filter the alphanumeric
input the user enters. If you choose Mask, you can set the following attributes:- Mask: Choose a pre-defined mask or enter your own. The pound character
(#) represents a number and the question mark character (?) represents a letter.
Masks can help users enter input such as telephone numbers or badge numbers
(which can be a mix of letters and numbers).
- Input assistance - Show prompt character: Enables automatic formatting
of input data on the browser. For example, if you specified the Mask, "###-##-####",
the input fields is shown as "___-__-____". The underscore characters ( _
) are replaced as the user enters the numbers.
|