Tag 040 - Radio Buttons

Simplify supports a Radio Buttons Message. The Request displays a screen with up to 100 radio buttons and up to three lines of text. The customer can select one radio button. A field in the Request (Required) determines whether the Enter key is accepted when no radio button is selected.

One field in the Radio Buttons Response (ActionButton) will indicate whether Enter or Cancel was pressed. If the customer presses the Enter key, another field (Data) indicates the radio button selected by the customer (if any).

Field 5001 Format

Request

Field NameLengthDescription
TTT3Tag (always = 040)
LLL3Length of the following data
Required1Data is required when ENTER is pressed (0=No, 1=Yes)
FS1Field separator (Hex 1C)
Title1Var.Title 1
FS1Field separator (Hex 1C)
Title2Var.text/field separator for Title 2
FS1
Title3Var.text/field separator for Title 3
FS1
Choice1Var.Choice 1
FS1Field separator (Hex 1C)
Choice2Var.button text/field separator for Choice 2
FS1
Choice3Var.button text/field separator for Choice 3
FS1
Choice4Var.button text/field separator for Choice 4
FS1
Choice5Var.button text/field separator for Choice 5
FS1
Choice6Var.button text/field separator for Choice 6
FS1
(etc.)(etc.)
Choice100Var.Choice 100

Response

Field NameLengthDescription
TTT3Tag (always = 040)
LLL3Length of the following data
ActionButton3If field 11 Completion Code = 000 (success), returns code for key pressed by customer:
  • 777=Enter (green) key
  • 888=Cancel (red) key
FS1Field separator (Hex 1C)
DataVar.If ActionButton = 777 (Enter), returns selected item using index of 1 to nn(= number of selections).

Sample Message

Request

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

API Field #, ValueDescription
0001,36Transaction Type
0011,14125040000User Data. See Field 0011 (User Data).
5001,[see value below]Non-Financial Data
  • 040=Tag
  • 206=Length of data
  • 1= Data required when ENTER pressed
  • Select from one of the options=Title1
  • Choice 1901234567890(etc.)=Descriptor for radio button 1 (etc.)

5001,0402061FSSelect from one of the optionsFSFSFSChoice 1901234567890123456789012345678901234567890FSChoice 2FSChoice 3FSChoice 4FSChoice 5FSChoice 6FSChoice 7FSChoice 8FSChoice 9FSChoice 10FSChoice 11FSChoice 12FSChoice 13

sample screen with seven radio buttons

Response

API Field #, ValueDescription
0001,36Transaction Type
0011,14125040000?V102.18B01803User Data. See Field 0011 (User Data).
5001,040006777FS100Non-Financial Data
  • 040=Tag
  • 006=Length of data
  • 777=Enter key pressed
  • 10=Radio button (Choice) 10 pressed