Hitachi

JP1 Version 12 JP1/Navigation Platform Content Editing Guide


4.7.5 Items in the Attribute Settings window (text area part in the guide area)

Figure 4‒8: Attribute Settings window (displayed from a text area part)

[Figure]

The following describes the items in the Attribute Settings window.

Organization of this subsection

(1) Default value text box

Specify the character string to be displayed as the default in the text area. An error occurs in the following cases:

(2) Guide Part ID text box

For the Guide Part ID, enter a character string (no more than 20 single-byte characters) that uniquely identifies the Guide Part. Use the Guide Part ID text box when you change an automatically set Guide Part ID.

You can enter single-byte alphanumeric characters, single-byte hyphen (-), and single-byte underscore (_). You can also enter an empty character string. Any character strings that you enter other than an empty character string must be unique to one another in the same guide area.

(3) Read only check box

If you select this check box, character input to the text area is disabled. This check box is not selected by default.

(4) Input rule text box

You can specify an input rule of no more than 1,024 characters for a character string entered in the text area with a regular expression. If an input rule is specified, a character string entered in the text box is checked according to the input rule when the operation transitions to the next process in the Operational Content Execution Window. If an entered character string violates the input rule, a message specified in the Error message text box is output. In a specific environment, the node on which the error occurs is highlighted.

For details about regular expressions, see the window that appears when you click Example of settings for a regular expression. If you specify an input rule not shown in the window, specify the input rule in the format of the character string that is to be specified in the first argument of the JavaScript RegExp constructor. If an empty character string is entered in the Input rule text box, the system assumes that no input rule is specified.

You cannot perform the following operations:

Case examples in which the Input rule text box cannot be used:

In the cases described below, you need to use a plugin. For details about the plugin, see the manual JP1/Navigation Platform Development Guide.

  • You want to set an input rule that cannot be defined by regular expressions.

  • You set an input rule that requires referencing the value input to another Guide Part or the user ID of the user.

  • You want to dynamically change the error message, for example, by displaying the value input by the user.

  • You want to highlight 11 or more Guide Parts together when an input value error occurs.

(5) Error message text box

Specify the error message to be displayed when a character string violates the input rule specified in the Input rule text box. The length of the character string must be no more than 200 double-byte characters. In the Error message text box, you cannot enter a character string that contains an ASCII code from 0x00 to 0x1F, or 0x7F.

Note that, when you specify an input rule in the Input rule text box, you must also specify an error message in the Error message text box.