5.7.3 Check box input item
You can create a check box in an item, which allows you to use the value that takes effect when the user selects the created check box as the parameter of a command or the like.
- Example: Outputting a message to standard output when the check box is selected
-
Open the Action dialog box from the Item Design View, specify the information described in the following table in an item, and then register the item.
Table 5‒13: Information specified for the input item "Check box" No.
Specifics of where each piece of information is defined
Information to be specified
Main window
Where to transition to
Location where the information is specified
1
Item Design View
+--Action dialog box
Basic settings
Command
cpaecho
2
Parameter
${JDS:msg}
3
Execution type
Do not show the window
4
Input item settings
+--Define input items dialog box
Variable name
msg
5
Label
(Nothing is input.)
6
Input type
Check box
7
Value when checked: The check box was selected.
Value when unchecked: (Nothing is input.)
Details: The message is output when the check box is selected.
The following figure shows what the dialog box looks like when the created item is to be used in a job.
When the Send a message when the check box is selected check box is selected, the message The check box was selected. is sent to standard output.