Localizing field input types
- Click Turn ON the config mode.
- Select any field for which you want to change the input type.
-
Click the diamond icon next to the field you want to change.
The Field UI Type and Label Localization window is displayed.
-
Select one of these options from the
Required drop-down list:
- Default: Specifies a field where the default value is taken from a database if the user does not enter a value into the field. This value can be overwritten.
- Yes: Specifies a required field.
- No: Specifies an optional field.
-
If applicable, specify the default value in the
Default field that is
displayed when users insert a new record.
The Default value will be visible to users. Expressions such as
#page.property.userId#
can be used to construct the Default value. See “JavaScript Expressions” in the Tools Administration Guide. -
Specify the field type from the
Field Type drop-down list,
if necessary. The field type indicates the type of data the field should
accept. Specify a field type if the field should only accept a certain
character type or is defined as a CheckboxUI (in which case select
Boolean).
Select one of these options from the Field Type drop-down list:
- Boolean: Field accepts and returns a true or false value only. Always select Boolean if the field input type is CheckboxUI
- DATETIME: Field accepts and returns a date and time value only. For example, entry can be Sun Aug 01 00:00:00 EDT 1204.
- NUMBER: Field accepts and returns a numerical value.
- STRING: Field accepts and returns a string value.
- Time: Field accepts and returns a time value.
- XML Clob: TBA.
- Select the field input type from the Field UI drop-down list.
-
Click
Help next to the
Field UI drop-down list.
The pop-up window for the selected Field UI type is displayed.
- Specify the parameter values for the required parameters in the appropriate fields. See the bottom half of the window for a description of each parameter name. Parameter names are case sensitive.
- Click Preview to display the field output based on the supplied parameter values.
-
Click
Save.
The specified parameter values are displayed in the Field Parameters field in the Field UI Type and Label Localization window.
You can specify the parameters directly in the Field Parameters field in the Field UI Type and Label Localization window. Each parameter must be separated by a single space (no semi-colons or colons) and can include expressions such as
#page.property.userId#
. See “JavaScript Expressions” in the Tools Administration Guide. - Click Save and close the window.
- Click Turn OFF config mode.
- Refresh the page to display the changes.