Localizing field input types

To localize field input types:

  1. Click Turn ON the config mode.
  2. Select any field for which you want to change the input type.
  3. Click the diamond icon next to the field you want to change.
    The Field UI Type and Label Localization window is displayed.
  4. 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.
  5. 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.
  6. 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.
  7. Select the field input type from the Field UI drop-down list.
  8. Click Help next to the Field UI drop-down list.
    The pop-up window for the selected Field UI type is displayed.
  9. 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.
  10. Click Preview to display the field output based on the supplied parameter values.
  11. 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.

  12. Click Save and close the window.
  13. Click Turn OFF config mode.
  14. Refresh the page to display the changes.