Tag 050 - Check Boxes

Simplify supports a Check Boxes Message. The Request displays a screen with up to 100 check boxes and up to three lines of text. The customer can select one or more check boxes. A field in the Request (Required) determines whether the Enter key is accepted when no check box is selected. With the exception of the Tag value, the format of this request is identical to that for Tag 040.

One field in the Check Boxes Response (ActionButton) will indicate whether Enter or Cancel was pressed. If Enter was pressed, another field (Data) will indicate the check box(es) selected by the customer (if any).

Field 5001 Format

Request

Field Name Length Description
TTT 3 Tag (always = 050)
LLL 3 Length of the following data
Required 1 Data is required when ENTER is pressed (0=No, 1=Yes)
FS 1 Field separator (Hex 1C)
Title1 Var. Title 1
FS 1 Field separator (Hex 1C)
Title2 Var. text/field separator for Title 2
FS 1
Title3 Var. text/field separator for Title 3
FS 1
Choice1 Var. Choice 1
Field separator (Hex 1C)
FS 1
Choice2 Var. button text/field separator for Choice 2
FS 1
Choice3 Var. button text/field separator for Choice 3
FS 1
Choice4 Var. button text/field separator for Choice 4
FS 1
Choice5 Var. button text/field separator for Choice 5
FS 1
Choice6 Var. button text/field separator for Choice 6
FS 1
.
Choice100 Var. Choice 100

Response

Field Name Length Description
TTT 3 Tag (always = 050)
LLL 3 Length of the following data
ActionButton 3 If field 11 Completion Code = 000 (success), returns code for key pressed by customer:
777=Enter (green) key
888=Cancel (red) key
FS 1 Field separator (Hex 1C)
Data Var. If ActionButton = 777 (Enter), returns selected check boxes (if any).
Each check box is represented as either 0 (not selected) or 1 (selected).

Sample Message

Request

The following request tells Simplify to display the screen shown below:

API Field #, Value Description
0001,36 Transaction Type
0011,14125050000 User Data. See Field 11 (User Data) .
5001,[see value below] Non-Financial Data
    050=Tag
    194=Length of data
    1= Data required when ENTER pressed
    Multiple selections=Title1
    Choice 190123456789(etc.)=Descriptor for check box 1 (etc.)

5001,0501941FSMultiple selectionsFSFSFSChoice 1901234567890123456789012345678901234567890FSChoice 2FSChoice 3FSChoice 4FSChoice 5FSChoice 6FSChoice 7FSChoice 8FSChoice 9FSChoice 10FSChoice 11FSChoice 12FSChoice 13

Response

API Field #, Value Description
0001,36 Transaction Type
0011,14125050000?V102.18B01803 User Data. See Field 11 (User Data) .
5001,050017777FS10101000000000 Non-Financial Data
    050=Tag
    017=Length of data
    777=Enter key pressed
    1010100000000=Check boxes 1, 3 and 5 selected